Commit ed4cbaed authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Screen.c: scope improvement

parent 00d60a82
......@@ -846,7 +846,6 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
int depthIndex;
unsigned long valuemask;
XSetWindowAttributes attributes;
XWindowAttributes gattributes;
Mask mask;
Bool resetAgentPosition = False;
......@@ -1424,6 +1423,8 @@ N/A
* and a GetGeometry (asynchronous) reply.
*/
XWindowAttributes gattributes;
XGetWindowAttributes(nxagentDisplay, nxagentParentWindow, &gattributes);
nxagentChangeOption(Width, gattributes.width);
......
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