aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index dbe1d5d56..909a34b2d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -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);