aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix/window.c
diff options
context:
space:
mode:
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;