aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/miext/rootless/rootlessCommon.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-10-19 20:18:13 +0000
committermarha <marha@users.sourceforge.net>2009-10-19 20:18:13 +0000
commitf490d83dad064de52a65a1c5a7e374a1a176f05a (patch)
tree35d69842a56af15a5ec82dd875dfd5a2f987ad9c /xorg-server/miext/rootless/rootlessCommon.c
parentb567a3027bceabc0f1f42dd162268f06f15e8149 (diff)
downloadvcxsrv-f490d83dad064de52a65a1c5a7e374a1a176f05a.tar.gz
vcxsrv-f490d83dad064de52a65a1c5a7e374a1a176f05a.tar.bz2
vcxsrv-f490d83dad064de52a65a1c5a7e374a1a176f05a.zip
Updated to xorg-server-1.7.0.902
Diffstat (limited to 'xorg-server/miext/rootless/rootlessCommon.c')
-rw-r--r--xorg-server/miext/rootless/rootlessCommon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/miext/rootless/rootlessCommon.c b/xorg-server/miext/rootless/rootlessCommon.c
index e3dd9d97c..39a3eed0f 100644
--- a/xorg-server/miext/rootless/rootlessCommon.c
+++ b/xorg-server/miext/rootless/rootlessCommon.c
@@ -146,6 +146,7 @@ void RootlessStartDrawing(WindowPtr pWindow)
ScreenPtr pScreen = pWindow->drawable.pScreen;
WindowPtr top = TopLevelParent(pWindow);
RootlessWindowRec *winRec;
+ PixmapPtr curPixmap;
if (top == NULL)
return;
@@ -172,7 +173,7 @@ void RootlessStartDrawing(WindowPtr pWindow)
winRec->is_drawing = TRUE;
}
- PixmapPtr curPixmap = pScreen->GetWindowPixmap(pWindow);
+ curPixmap = pScreen->GetWindowPixmap(pWindow);
if (curPixmap == winRec->pixmap)
{
RL_DEBUG_MSG("Window %p already has winRec->pixmap %p; not pushing\n", pWindow, winRec->pixmap);