summaryrefslogtreecommitdiff
path: root/miext/damage/damage.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-01-20 23:47:26 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-01-20 23:47:26 +0000
commit57c954d3aa00c4882c7fecfd53e772f9641c0b38 (patch)
tree0ddc1a6ca4f67efbd382f211fe71a2f77138b8e1 /miext/damage/damage.c
parentcc390e4ed5e0d1bc8f7c3eaf9de67be4e9792b7c (diff)
Integrate changes for release-0-6-1lg3d-rel-0-7-0lg3d
Diffstat (limited to 'miext/damage/damage.c')
-rwxr-xr-xmiext/damage/damage.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/miext/damage/damage.c b/miext/damage/damage.c
index 84b9b003e..02be613e3 100755
--- a/miext/damage/damage.c
+++ b/miext/damage/damage.c
@@ -1561,19 +1561,6 @@ damageDestroyPixmap (PixmapPtr pPixmap)
return TRUE;
}
-#ifdef LG3D
-/*
-** RUDE HACK: need to find a cleaner way to do this!
-** This variable is set by routines in lgwindow.c
-** in order to skip the wrappee paint window call from
-** this routine. This is necessary in order to keep the
-** DDX from preparing the DIDs where the X server thinks
-** the window is. But this isn't where the 3D window
-** avatar really is.
-*/
-Bool damagePaintWindowCallWrappee = TRUE;
-#endif /* LG3D */
-
static void
damagePaintWindow(WindowPtr pWindow,
RegionPtr prgn,
@@ -1590,11 +1577,6 @@ damagePaintWindow(WindowPtr pWindow,
getWindowDamage (pWindow))
damageDamageRegion (&pWindow->drawable, prgn, FALSE);
-#ifdef LG3D
- /* RUDE HACK: see comment above */
- if (damagePaintWindowCallWrappee) {
-#endif /* LG3D */
-
if(what == PW_BACKGROUND) {
unwrap (pScrPriv, pScreen, PaintWindowBackground);
(*pScreen->PaintWindowBackground) (pWindow, prgn, what);
@@ -1604,11 +1586,6 @@ damagePaintWindow(WindowPtr pWindow,
(*pScreen->PaintWindowBorder) (pWindow, prgn, what);
wrap (pScrPriv, pScreen, PaintWindowBorder, damagePaintWindow);
}
-
-#ifdef LG3D
- /* RUDE HACK: see comment above */
- }
-#endif /* LG3D */
}