Commit 9e5d72c0 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Rootless.c: silence compiler warning about wrong parmeter sizes

parent 63f6c1e7
......@@ -229,9 +229,9 @@ void nxagentCirculateRootlessWindows(int direction)
Bool nxagentRootlessTreesMatch(void)
{
Window root_return;
Window parent_return;
Window *children_return = NULL;
XlibWindow root_return;
XlibWindow parent_return;
XlibWindow *children_return = NULL;
unsigned int nChildrenReturn;
WindowPtr pTestWin = screenInfo.screens[0]->root -> firstChild;
Bool treesMatch = True;
......@@ -244,14 +244,12 @@ Bool nxagentRootlessTreesMatch(void)
#ifdef WARNING
fprintf(stderr, "%s: WARNING! Failed QueryTree request.\n", __func__);
#endif
return False;
}
while (nChildrenReturn > 0)
{
WindowPtr pW = nxagentWindowPtr(children_return[--nChildrenReturn]);
if (!pW)
{
pW = nxagentRootlessTopLevelWindow(children_return[nChildrenReturn]);
......
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