Commit 4821edfe authored by Ulrich Sibiller's avatar Ulrich Sibiller

nxagent: rename variables that shadow globals

parent 2adab297
...@@ -303,7 +303,7 @@ void nxagentWakeupByReset(ClientPtr client) ...@@ -303,7 +303,7 @@ void nxagentWakeupByReset(ClientPtr client)
#ifndef WAIT_ALL_EVENTS #ifndef WAIT_ALL_EVENTS
static Bool nxagentWaitWakeupBySplitPredicate(Display *display, XEvent *event, XPointer ptr) static Bool nxagentWaitWakeupBySplitPredicate(Display *disp, XEvent *event, XPointer ptr)
{ {
return (event -> type == ClientMessage && return (event -> type == ClientMessage &&
(event -> xclient.data.l[0] == NXNoSplitNotify || (event -> xclient.data.l[0] == NXNoSplitNotify ||
......
...@@ -110,7 +110,7 @@ Bool nxagentTrue24 = False; ...@@ -110,7 +110,7 @@ Bool nxagentTrue24 = False;
int nxagentNumVisuals; int nxagentNumVisuals;
int nxagentXConnectionNumber; int nxagentXConnectionNumber;
int nxagentIOErrorHandler(Display *display); int nxagentIOErrorHandler(Display *disp);
static Bool nxagentDisplayInfoSaved = False; static Bool nxagentDisplayInfoSaved = False;
static Display *nxagentDisplayBackup = NULL; static Display *nxagentDisplayBackup = NULL;
...@@ -170,7 +170,7 @@ Pixmap nxagentIconPixmap; ...@@ -170,7 +170,7 @@ Pixmap nxagentIconPixmap;
Pixmap nxagentIconShape; Pixmap nxagentIconShape;
Bool useXpmIcon = False; Bool useXpmIcon = False;
Bool nxagentMakeIcon(Display *display, Pixmap *nxIcon, Pixmap *nxMask); Bool nxagentMakeIcon(Display *disp, Pixmap *nxIcon, Pixmap *nxMask);
static void nxagentInitVisuals(void); static void nxagentInitVisuals(void);
...@@ -188,7 +188,7 @@ static int nxagentCheckForColormapsCompatibility(int flexibility); ...@@ -188,7 +188,7 @@ static int nxagentCheckForColormapsCompatibility(int flexibility);
* Save Internal implementation Also called in Reconnect.c. * Save Internal implementation Also called in Reconnect.c.
*/ */
Display *nxagentInternalOpenDisplay(char *display); Display *nxagentInternalOpenDisplay(char *disp);
#ifdef NXAGENT_TIMESTAMP #ifdef NXAGENT_TIMESTAMP
unsigned long startTime; unsigned long startTime;
...@@ -226,7 +226,7 @@ int nxagentServerOrder(void) ...@@ -226,7 +226,7 @@ int nxagentServerOrder(void)
* be probably moved to Handlers.c. * be probably moved to Handlers.c.
*/ */
int nxagentIOErrorHandler(Display *display) int nxagentIOErrorHandler(Display *disp)
{ {
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentIOErrorHandler: Got I/O error with nxagentException.ioError [%d].\n", fprintf(stderr, "nxagentIOErrorHandler: Got I/O error with nxagentException.ioError [%d].\n",
...@@ -559,7 +559,7 @@ static void nxagentSigchldHandler(int signal) ...@@ -559,7 +559,7 @@ static void nxagentSigchldHandler(int signal)
return; return;
} }
Display *nxagentInternalOpenDisplay(char *display) Display *nxagentInternalOpenDisplay(char *disp)
{ {
/* /*
* Stop the smart schedule timer since it uses SIGALRM as we do. * Stop the smart schedule timer since it uses SIGALRM as we do.
...@@ -601,10 +601,10 @@ FIXME: Should print a warning if the user tries to let the agent ...@@ -601,10 +601,10 @@ FIXME: Should print a warning if the user tries to let the agent
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentInternalOpenDisplay: Going to open the display [%s].\n", fprintf(stderr, "nxagentInternalOpenDisplay: Going to open the display [%s].\n",
display); disp);
#endif #endif
Display *newDisplay = XOpenDisplay(display); Display *newDisplay = XOpenDisplay(disp);
alarm(0); alarm(0);
...@@ -630,7 +630,7 @@ FIXME: Should print a warning if the user tries to let the agent ...@@ -630,7 +630,7 @@ FIXME: Should print a warning if the user tries to let the agent
return newDisplay; return newDisplay;
} }
static void nxagentDisplayBlockHandler(Display *display, int reason) static void nxagentDisplayBlockHandler(Display *disp, int reason)
{ {
if (nxagentDisplay != NULL) if (nxagentDisplay != NULL)
{ {
...@@ -686,7 +686,7 @@ static void nxagentDisplayBlockHandler(Display *display, int reason) ...@@ -686,7 +686,7 @@ static void nxagentDisplayBlockHandler(Display *display, int reason)
} }
} }
static void nxagentDisplayWriteHandler(Display *display, int length) static void nxagentDisplayWriteHandler(Display *disp, int length)
{ {
if (nxagentDisplay != NULL) if (nxagentDisplay != NULL)
{ {
...@@ -717,7 +717,7 @@ int nxagentGetDataRate(void) ...@@ -717,7 +717,7 @@ int nxagentGetDataRate(void)
return nxagentRate; return nxagentRate;
} }
static void nxagentDisplayFlushHandler(Display *display, int length) static void nxagentDisplayFlushHandler(Display *disp, int length)
{ {
if (nxagentDisplay != NULL) if (nxagentDisplay != NULL)
{ {
...@@ -768,7 +768,7 @@ static void nxagentDisplayFlushHandler(Display *display, int length) ...@@ -768,7 +768,7 @@ static void nxagentDisplayFlushHandler(Display *display, int length)
* rupt was received or if any other event occurred mandating the * rupt was received or if any other event occurred mandating the
+ end of the session." + end of the session."
*/ */
static int nxagentDisplayErrorPredicate(Display *display, int error) static int nxagentDisplayErrorPredicate(Display *disp, int error)
{ {
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentDisplayErrorPredicate: CHECK! Error is [%d] with [%d][%d][%d][%d][%d].\n", fprintf(stderr, "nxagentDisplayErrorPredicate: CHECK! Error is [%d] with [%d][%d][%d][%d][%d].\n",
...@@ -789,7 +789,7 @@ static int nxagentDisplayErrorPredicate(Display *display, int error) ...@@ -789,7 +789,7 @@ static int nxagentDisplayErrorPredicate(Display *display, int error)
else if (nxagentException.sigHup > 0 || else if (nxagentException.sigHup > 0 ||
nxagentException.ioError > 0) nxagentException.ioError > 0)
{ {
NXForceDisplayError(display); NXForceDisplayError(disp);
return 1; return 1;
} }
...@@ -1746,7 +1746,7 @@ FIXME: Is this needed? ...@@ -1746,7 +1746,7 @@ FIXME: Is this needed?
nxagentDisplay = NULL; nxagentDisplay = NULL;
} }
Bool nxagentMakeIcon(Display *display, Pixmap *nxIcon, Pixmap *nxMask) Bool nxagentMakeIcon(Display *disp, Pixmap *nxIcon, Pixmap *nxMask)
{ {
char** agentIconData; char** agentIconData;
...@@ -1764,8 +1764,8 @@ Bool nxagentMakeIcon(Display *display, Pixmap *nxIcon, Pixmap *nxMask) ...@@ -1764,8 +1764,8 @@ Bool nxagentMakeIcon(Display *display, Pixmap *nxIcon, Pixmap *nxMask)
XlibPixmap IconPixmap; XlibPixmap IconPixmap;
XlibPixmap IconShape; XlibPixmap IconShape;
if (XpmSuccess == XpmCreatePixmapFromData(display, if (XpmSuccess == XpmCreatePixmapFromData(disp,
DefaultRootWindow(display), DefaultRootWindow(disp),
agentIconData, agentIconData,
&IconPixmap, &IconPixmap,
&IconShape, &IconShape,
......
...@@ -167,7 +167,7 @@ void nxagentHandleCollectPropertyEvent(XEvent*); ...@@ -167,7 +167,7 @@ void nxagentHandleCollectPropertyEvent(XEvent*);
void nxagentHandleCollectGrabPointerEvent(int resource); void nxagentHandleCollectGrabPointerEvent(int resource);
Bool nxagentCollectGrabPointerPredicate(Display *display, XEvent *X, XPointer ptr); Bool nxagentCollectGrabPointerPredicate(Display *disp, XEvent *X, XPointer ptr);
/* /*
* Used in Handlers.c to synchronize the agent with the remote X * Used in Handlers.c to synchronize the agent with the remote X
...@@ -702,7 +702,7 @@ static void nxagentToggleAutoGrab(void) ...@@ -702,7 +702,7 @@ static void nxagentToggleAutoGrab(void)
nxagentDisableAutoGrab(); nxagentDisableAutoGrab();
} }
static Bool nxagentExposurePredicate(Display *display, XEvent *event, XPointer window) static Bool nxagentExposurePredicate(Display *disp, XEvent *event, XPointer window)
{ {
/* /*
* Handle both Expose and ProcessedExpose events. The latters are * Handle both Expose and ProcessedExpose events. The latters are
...@@ -720,12 +720,12 @@ static Bool nxagentExposurePredicate(Display *display, XEvent *event, XPointer w ...@@ -720,12 +720,12 @@ static Bool nxagentExposurePredicate(Display *display, XEvent *event, XPointer w
} }
} }
static int nxagentAnyEventPredicate(Display *display, XEvent *event, XPointer parameter) static int nxagentAnyEventPredicate(Display *disp, XEvent *event, XPointer parameter)
{ {
return 1; return 1;
} }
int nxagentInputEventPredicate(Display *display, XEvent *event, XPointer parameter) int nxagentInputEventPredicate(Display *disp, XEvent *event, XPointer parameter)
{ {
switch (event -> type) switch (event -> type)
{ {
...@@ -3883,7 +3883,7 @@ void nxagentDeactivatePointerGrab(void) ...@@ -3883,7 +3883,7 @@ void nxagentDeactivatePointerGrab(void)
} }
} }
Bool nxagentCollectGrabPointerPredicate(Display *display, XEvent *X, XPointer ptr) Bool nxagentCollectGrabPointerPredicate(Display *disp, XEvent *X, XPointer ptr)
{ {
return (X -> xclient.window == 0 && return (X -> xclient.window == 0 &&
X -> xclient.message_type == 0 && X -> xclient.message_type == 0 &&
......
...@@ -68,9 +68,9 @@ typedef int (*GetResourceFuncPtr)(Display*); ...@@ -68,9 +68,9 @@ typedef int (*GetResourceFuncPtr)(Display*);
int nxagentWaitForResource(GetResourceFuncPtr, PredicateFuncPtr); int nxagentWaitForResource(GetResourceFuncPtr, PredicateFuncPtr);
Bool nxagentCollectGrabPointerPredicate(Display *display, XEvent *X, XPointer ptr); Bool nxagentCollectGrabPointerPredicate(Display *disp, XEvent *X, XPointer ptr);
int nxagentInputEventPredicate(Display *display, XEvent *event, XPointer parameter); int nxagentInputEventPredicate(Display *disp, XEvent *event, XPointer parameter);
/* /*
* Enable and disable notification of * Enable and disable notification of
......
...@@ -941,7 +941,7 @@ void nxagentHandleCollectInputFocusEvent(int resource) ...@@ -941,7 +941,7 @@ void nxagentHandleCollectInputFocusEvent(int resource)
#endif #endif
} }
Bool nxagentCollectInputFocusPredicate(Display *display, XEvent *X, XPointer ptr) Bool nxagentCollectInputFocusPredicate(Display *disp, XEvent *X, XPointer ptr)
{ {
return (X -> xclient.window == 0 && return (X -> xclient.window == 0 &&
X -> xclient.message_type == 0 && X -> xclient.message_type == 0 &&
......
...@@ -203,7 +203,7 @@ void checkX2goAgent(void) ...@@ -203,7 +203,7 @@ void checkX2goAgent(void)
/* /*
* Called at X server's initialization. * Called at X server's initialization.
*/ */
void InitOutput(ScreenInfo *screenInfo, int argc, char *argv[]) void InitOutput(ScreenInfo *scrInfo, int argc, char *argv[])
{ {
/* /*
* Print our pid and version information. * Print our pid and version information.
...@@ -329,13 +329,13 @@ FIXME: These variables, if not removed at all because have probably ...@@ -329,13 +329,13 @@ FIXME: These variables, if not removed at all because have probably
* Initialize the basic screen info. * Initialize the basic screen info.
*/ */
nxagentSetScreenInfo(screenInfo); nxagentSetScreenInfo(scrInfo);
/* /*
* Initialize pixmap formats for this screen. * Initialize pixmap formats for this screen.
*/ */
nxagentSetPixmapFormats(screenInfo); nxagentSetPixmapFormats(scrInfo);
/* /*
* Get our own privates' index. * Get our own privates' index.
...@@ -370,7 +370,7 @@ FIXME: These variables, if not removed at all because have probably ...@@ -370,7 +370,7 @@ FIXME: These variables, if not removed at all because have probably
AddScreen(nxagentOpenScreen, argc, argv); AddScreen(nxagentOpenScreen, argc, argv);
} }
nxagentNumScreens = screenInfo->numScreens; nxagentNumScreens = scrInfo->numScreens;
/* /*
* Initialize the GCs used by the synchronization put images. We do * Initialize the GCs used by the synchronization put images. We do
......
...@@ -236,7 +236,7 @@ int nxagentBitsPerPixel(int depth) ...@@ -236,7 +236,7 @@ int nxagentBitsPerPixel(int depth)
else return 32; else return 32;
} }
void nxagentSetScreenInfo(ScreenInfo *screenInfo) void nxagentSetScreenInfo(ScreenInfo *scrInfo)
{ {
/* /*
* Setup global screen info parameters. In the Xnest * Setup global screen info parameters. In the Xnest
...@@ -248,34 +248,34 @@ void nxagentSetScreenInfo(ScreenInfo *screenInfo) ...@@ -248,34 +248,34 @@ void nxagentSetScreenInfo(ScreenInfo *screenInfo)
* *
* From a standard implementation: * From a standard implementation:
* *
* screenInfo->imageByteOrder = IMAGE_BYTE_ORDER; * scrInfo->imageByteOrder = IMAGE_BYTE_ORDER;
* screenInfo->bitmapScanlinePad = BITMAP_SCANLINE_PAD; * scrInfo->bitmapScanlinePad = BITMAP_SCANLINE_PAD;
* screenInfo->bitmapScanlineUnit = BITMAP_SCANLINE_UNIT; * scrInfo->bitmapScanlineUnit = BITMAP_SCANLINE_UNIT;
* screenInfo->bitmapBitOrder = BITMAP_BIT_ORDER; * scrInfo->bitmapBitOrder = BITMAP_BIT_ORDER;
* *
* From Xnest implementation: * From Xnest implementation:
* *
* screenInfo -> imageByteOrder = ImageByteOrder(nxagentDisplay); * scrInfo -> imageByteOrder = ImageByteOrder(nxagentDisplay);
* screenInfo -> bitmapScanlineUnit = BitmapUnit(nxagentDisplay); * scrInfo -> bitmapScanlineUnit = BitmapUnit(nxagentDisplay);
* screenInfo -> bitmapScanlinePad = BitmapPad(nxagentDisplay); * scrInfo -> bitmapScanlinePad = BitmapPad(nxagentDisplay);
* screenInfo -> bitmapBitOrder = BitmapBitOrder(nxagentDisplay); * scrInfo -> bitmapBitOrder = BitmapBitOrder(nxagentDisplay);
*/ */
screenInfo -> imageByteOrder = IMAGE_BYTE_ORDER; scrInfo -> imageByteOrder = IMAGE_BYTE_ORDER;
screenInfo -> bitmapScanlinePad = BITMAP_SCANLINE_PAD; scrInfo -> bitmapScanlinePad = BITMAP_SCANLINE_PAD;
screenInfo -> bitmapScanlineUnit = BITMAP_SCANLINE_UNIT; scrInfo -> bitmapScanlineUnit = BITMAP_SCANLINE_UNIT;
screenInfo -> bitmapBitOrder = BITMAP_BIT_ORDER; scrInfo -> bitmapBitOrder = BITMAP_BIT_ORDER;
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentSetScreenInfo: Server image order is [%d] bitmap order is [%d].\n", fprintf(stderr, "nxagentSetScreenInfo: Server image order is [%d] bitmap order is [%d].\n",
screenInfo -> imageByteOrder, screenInfo -> bitmapBitOrder); scrInfo -> imageByteOrder, scrInfo -> bitmapBitOrder);
fprintf(stderr, "nxagentSetScreenInfo: Server scanline unit is [%d] scanline pad is [%d].\n", fprintf(stderr, "nxagentSetScreenInfo: Server scanline unit is [%d] scanline pad is [%d].\n",
screenInfo -> bitmapScanlineUnit, screenInfo -> bitmapScanlinePad); scrInfo -> bitmapScanlineUnit, scrInfo -> bitmapScanlinePad);
#endif #endif
} }
void nxagentSetPixmapFormats(ScreenInfo *screenInfo) void nxagentSetPixmapFormats(ScreenInfo *scrInfo)
{ {
/* /*
* Formats are created with no care of which are supported * Formats are created with no care of which are supported
...@@ -284,19 +284,19 @@ void nxagentSetPixmapFormats(ScreenInfo *screenInfo) ...@@ -284,19 +284,19 @@ void nxagentSetPixmapFormats(ScreenInfo *screenInfo)
* of session from a display to another. * of session from a display to another.
*/ */
screenInfo -> numPixmapFormats = nxagentNumPixmapFormats; scrInfo -> numPixmapFormats = nxagentNumPixmapFormats;
for (int i = 0; i < nxagentNumPixmapFormats; i++) for (int i = 0; i < nxagentNumPixmapFormats; i++)
{ {
screenInfo -> formats[i].depth = nxagentPixmapFormats[i].depth; scrInfo -> formats[i].depth = nxagentPixmapFormats[i].depth;
screenInfo -> formats[i].bitsPerPixel = nxagentPixmapFormats[i].bits_per_pixel; scrInfo -> formats[i].bitsPerPixel = nxagentPixmapFormats[i].bits_per_pixel;
screenInfo -> formats[i].scanlinePad = nxagentPixmapFormats[i].scanline_pad; scrInfo -> formats[i].scanlinePad = nxagentPixmapFormats[i].scanline_pad;
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentSetPixmapFormats: Set format at index [%d] to depth [%d] " fprintf(stderr, "nxagentSetPixmapFormats: Set format at index [%d] to depth [%d] "
"bits per pixel [%d] scanline pad [%d].\n", i, "bits per pixel [%d] scanline pad [%d].\n", i,
screenInfo -> formats[i].depth, screenInfo -> formats[i].bitsPerPixel, scrInfo -> formats[i].depth, scrInfo -> formats[i].bitsPerPixel,
screenInfo -> formats[i].scanlinePad); scrInfo -> formats[i].scanlinePad);
#endif #endif
} }
} }
...@@ -2950,9 +2950,9 @@ int nxagentShadowSendUpdates(int *suspended) ...@@ -2950,9 +2950,9 @@ int nxagentShadowSendUpdates(int *suspended)
return 1; return 1;
} }
int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr, int nxagentShadowPoll(PixmapPtr shadowPixmapPtr, GCPtr shadowGCPtr,
unsigned char nxagentShadowDepth, int nxagentShadowWidth, unsigned char shadowDepth, int shadowWidth,
int nxagentShadowHeight, char *nxagentShadowBuffer, int *changed, int *suspended) int shadowHeight, char *shadowBuffer, int *changed, int *suspended)
{ {
RegionRec updateRegion; RegionRec updateRegion;
RegionRec tempRegion; RegionRec tempRegion;
...@@ -2977,7 +2977,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr ...@@ -2977,7 +2977,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
BoxRec *pBox = (BoxRec *)ptBox; BoxRec *pBox = (BoxRec *)ptBox;
#ifdef TEST #ifdef TEST
fprintf(stderr, "nxagentShadowPoll: nRects[%ld], pBox[%p] depth[%d].\n", numRects, (void *) pBox, nxagentShadowDepth); fprintf(stderr, "nxagentShadowPoll: nRects[%ld], pBox[%p] depth[%d].\n", numRects, (void *) pBox, shadowDepth);
#endif #endif
for (int n = 0; n < numRects; n++) for (int n = 0; n < numRects; n++)
...@@ -2994,7 +2994,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr ...@@ -2994,7 +2994,7 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
unsigned int width = pBox[n].y1 - pBox[n].x1;/* y1 = x2 */ unsigned int width = pBox[n].y1 - pBox[n].x1;/* y1 = x2 */
unsigned int height = y2 - pBox[n].x2; /* x2 = y1 */ unsigned int height = y2 - pBox[n].x2; /* x2 = y1 */
if((x + width) > nxagentShadowWidth || (y + height) > nxagentShadowHeight) if((x + width) > shadowWidth || (y + height) > shadowHeight)
{ {
/* /*
* Out of bounds. Maybe a resize of the master session is going on. * Out of bounds. Maybe a resize of the master session is going on.
...@@ -3028,8 +3028,8 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr ...@@ -3028,8 +3028,8 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
for (int c = 0; c + y < y2; c++) for (int c = 0; c + y < y2; c++)
{ {
memcpy(tBuffer, nxagentShadowBuffer + x * nxagentBppMaster + memcpy(tBuffer, shadowBuffer + x * nxagentBppMaster +
(y + c) * nxagentShadowWidth * nxagentBppMaster, line); (y + c) * shadowWidth * nxagentBppMaster, line);
tBuffer += line; tBuffer += line;
...@@ -3042,8 +3042,8 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr ...@@ -3042,8 +3042,8 @@ int nxagentShadowPoll(PixmapPtr nxagentShadowPixmapPtr, GCPtr nxagentShadowGCPtr
nxagentShadowAdaptDepth(width, height, line, &tBuffer); nxagentShadowAdaptDepth(width, height, line, &tBuffer);
} }
fbPutImage(nxagentVirtualDrawable((DrawablePtr)nxagentShadowPixmapPtr), nxagentShadowGCPtr, fbPutImage(nxagentVirtualDrawable((DrawablePtr)shadowPixmapPtr), shadowGCPtr,
nxagentShadowDepth, x, y, width, height, 0, ZPixmap, tBuffer); shadowDepth, x, y, width, height, 0, ZPixmap, tBuffer);
BoxRec box = {.x1 = x, .x2 = x + width, .y1 = y, .y2 = y + height}; BoxRec box = {.x1 = x, .x2 = x + width, .y1 = y, .y2 = y + height};
......
...@@ -780,7 +780,7 @@ void nxagentWaitDrawable(DrawablePtr pDrawable) ...@@ -780,7 +780,7 @@ void nxagentWaitDrawable(DrawablePtr pDrawable)
} }
} }
static Bool nxagentCommitSplitPredicate(Display *display, XEvent *event, XPointer ptr) static Bool nxagentCommitSplitPredicate(Display *disp, XEvent *event, XPointer ptr)
{ {
return (event -> type == ClientMessage && return (event -> type == ClientMessage &&
event -> xclient.data.l[0] == NXCommitSplitNotify && event -> xclient.data.l[0] == NXCommitSplitNotify &&
...@@ -820,7 +820,7 @@ void nxagentWaitCommitEvent(int resource) ...@@ -820,7 +820,7 @@ void nxagentWaitCommitEvent(int resource)
} }
} }
static Bool nxagentWaitSplitPredicate(Display *display, XEvent *event, XPointer ptr) static Bool nxagentWaitSplitPredicate(Display *disp, XEvent *event, XPointer ptr)
{ {
return (event -> type == ClientMessage && return (event -> type == ClientMessage &&
(event -> xclient.data.l[0] == NXNoSplitNotify || (event -> xclient.data.l[0] == NXNoSplitNotify ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment