dix: don't mix declarations and code
This commit is contained in:
parent
466dddbb83
commit
a2a760e33c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue