aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Events.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:59:01 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:59:01 +0200
commite01b9177b41f7d27a934d41fa38d550fa0026b45 (patch)
treea5cbd3193d1a628272c244c4e50f8e0e685bdeb1 /nx-X11/programs/Xserver/hw/nxagent/Events.c
parent39b738a67a14dde67b2a811d56ac84934fcef52d (diff)
downloadnx-libs-e01b9177b41f7d27a934d41fa38d550fa0026b45.tar.gz
nx-libs-e01b9177b41f7d27a934d41fa38d550fa0026b45.tar.bz2
nx-libs-e01b9177b41f7d27a934d41fa38d550fa0026b45.zip
Imported nxagent-3.5.0-5.tar.gznxagent/3.5.0-5
Summary: Imported nxagent-3.5.0-5.tar.gz Keywords: Imported nxagent-3.5.0-5.tar.gz into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index b9da934d6..ce84c1b19 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -591,8 +591,8 @@ void nxagentSwitchResizeMode(ScreenPtr pScreen)
nxagentLaunchDialog(DIALOG_ENABLE_DESKTOP_RESIZE_MODE);
- nxagentRRSetScreenConfig(pScreen, nxagentOption(Width),
- nxagentOption(Height));
+ nxagentChangeScreenConfig(0, nxagentOption(Width), nxagentOption(Height),
+ 0, 0);
if (nxagentOption(ClientOs) == ClientOsWinnt)
{
@@ -3461,8 +3461,8 @@ int nxagentHandleConfigureNotify(XEvent* X)
nxagentOption(Width), nxagentOption(Height));
#endif
- nxagentRRSetScreenConfig(screenInfo.screens[DefaultScreen(nxagentDisplay)],
- nxagentOption(Width), nxagentOption(Height));
+ nxagentChangeScreenConfig(0, nxagentOption(Width),
+ nxagentOption(Height), 0, 0);
}
}