aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/miext/damage/damage.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-13 08:40:16 +0000
committermarha <marha@users.sourceforge.net>2010-09-13 08:40:16 +0000
commitb7a6351e37e788bb25415dc79aaf2718b48d6939 (patch)
treed895082b41d7d42d2b4daddad078ff36d8bc21d3 /xorg-server/miext/damage/damage.c
parent356036620c23163ec408b4104a0023d82262b809 (diff)
parent9e19f3933a9c37ea36ce295b6434bbd326fe44ad (diff)
downloadvcxsrv-b7a6351e37e788bb25415dc79aaf2718b48d6939.tar.gz
vcxsrv-b7a6351e37e788bb25415dc79aaf2718b48d6939.tar.bz2
vcxsrv-b7a6351e37e788bb25415dc79aaf2718b48d6939.zip
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/miext/damage/damage.c')
-rw-r--r--xorg-server/miext/damage/damage.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xorg-server/miext/damage/damage.c b/xorg-server/miext/damage/damage.c
index 50b73850b..cd69662ff 100644
--- a/xorg-server/miext/damage/damage.c
+++ b/xorg-server/miext/damage/damage.c
@@ -89,11 +89,7 @@ getDrawableDamageRef (DrawablePtr pDrawable)
ScreenPtr pScreen = pDrawable->pScreen;
pPixmap = 0;
- if (pScreen->GetWindowPixmap
-#ifdef ROOTLESS_WORKAROUND
- && ((WindowPtr)pDrawable)->viewable
-#endif
- )
+ if (pScreen->GetWindowPixmap)
pPixmap = (*pScreen->GetWindowPixmap) ((WindowPtr)pDrawable);
if (!pPixmap)