aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/window.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-09 14:11:17 +0000
committermarha <marha@users.sourceforge.net>2009-09-09 14:11:17 +0000
commit11f7ab896d77da81bff9e56a48e7280e5e57a2ee (patch)
treecc0f1b6d34483d0434cb99fe6f3c4a2bf43ec499 /xorg-server/dix/window.c
parent02dae3f63f25349271b42a22f2b284e9c7b06c31 (diff)
downloadvcxsrv-11f7ab896d77da81bff9e56a48e7280e5e57a2ee.tar.gz
vcxsrv-11f7ab896d77da81bff9e56a48e7280e5e57a2ee.tar.bz2
vcxsrv-11f7ab896d77da81bff9e56a48e7280e5e57a2ee.zip
Resynchronised with released branch.
Diffstat (limited to 'xorg-server/dix/window.c')
-rw-r--r--xorg-server/dix/window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/xorg-server/dix/window.c b/xorg-server/dix/window.c
index e9d90aba4..caff1cbff 100644
--- a/xorg-server/dix/window.c
+++ b/xorg-server/dix/window.c
@@ -3042,12 +3042,9 @@ NotClippedByChildren(WindowPtr pWin)
void
SendVisibilityNotify(WindowPtr pWin)
{
-#ifndef NO_XINERAMA_PORT
- unsigned int visibility;
-#endif
xEvent event;
#ifndef NO_XINERAMA_PORT
- visibility = pWin->visibility;
+ unsigned int visibility = pWin->visibility;
#endif
if (!MapUnmapEventsEnabled(pWin))
return;