diff options
author | Julien Cristau <jcristau@debian.org> | 2009-01-11 08:25:39 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2009-01-11 08:54:10 +0100 |
commit | a2a760e33c17e211650b1f53c05a89c013916cf3 (patch) | |
tree | 630ba042c6f6d5633c8bcf7b051465e5b21c0c7e /dix/window.c | |
parent | 466dddbb83aa37ae93fb32976d51ecaa947c3616 (diff) |
dix: don't mix declarations and code
Diffstat (limited to 'dix/window.c')
-rw-r--r-- | dix/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/window.c b/dix/window.c index 5e8338f2f..d750b3baa 100644 --- a/dix/window.c +++ b/dix/window.c @@ -3079,11 +3079,11 @@ void SendVisibilityNotify(WindowPtr pWin) { xEvent event; - if (!MapUnmapEventsEnabled(pWin)) - return; #ifndef NO_XINERAMA_PORT unsigned int visibility = pWin->visibility; #endif + if (!MapUnmapEventsEnabled(pWin)) + return; #ifdef PANORAMIX /* This is not quite correct yet, but it's close */ if(!noPanoramiXExtension) { |