summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2010-06-04 20:20:47 +0200
committerKeith Packard <keithp@keithp.com>2010-06-05 22:13:24 -0700
commiteacc42132ed0f1e8f4a4d65a4b6637ab06f7e2aa (patch)
treeac955d069cad48ebefa9217da2bf5eec98e5d073 /dix
parenta0fe6987b55b5326157b50e169b8d6b9ae26a1ae (diff)
dix: Remove test for obsolete NO_XINERAMA_PORT macro.
Signed-off-by: Kim Woelders <kim@woelders.dk> Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dix/window.c b/dix/window.c
index 8ccbf658e..8f3ffa384 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -3015,9 +3015,8 @@ void
SendVisibilityNotify(WindowPtr pWin)
{
xEvent event;
-#ifndef NO_XINERAMA_PORT
unsigned int visibility = pWin->visibility;
-#endif
+
if (!MapUnmapEventsEnabled(pWin))
return;
#ifdef PANORAMIX