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)
{
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) {