dix: don't mix declarations and code
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user