dix: don't mix declarations and code

This commit is contained in:
Julien Cristau 2009-01-11 08:25:39 +01:00
parent 466dddbb83
commit a2a760e33c

View File

@ -3079,11 +3079,11 @@ void
SendVisibilityNotify(WindowPtr pWin) SendVisibilityNotify(WindowPtr pWin)
{ {
xEvent event; xEvent event;
if (!MapUnmapEventsEnabled(pWin))
return;
#ifndef NO_XINERAMA_PORT #ifndef NO_XINERAMA_PORT
unsigned int visibility = pWin->visibility; unsigned int visibility = pWin->visibility;
#endif #endif
if (!MapUnmapEventsEnabled(pWin))
return;
#ifdef PANORAMIX #ifdef PANORAMIX
/* This is not quite correct yet, but it's close */ /* This is not quite correct yet, but it's close */
if(!noPanoramiXExtension) { if(!noPanoramiXExtension) {