aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-07 17:24:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-12-30 00:05:53 +0100
commitf40792c436c2e0678f46478002830367b683f20c (patch)
treeb0ae08a11d63adaf3a8b51e0db749c750ba03082
parente7e2f164b9bcf05d4cc1eb0e69879addec718824 (diff)
downloadnx-libs-f40792c436c2e0678f46478002830367b683f20c.tar.gz
nx-libs-f40792c436c2e0678f46478002830367b683f20c.tar.bz2
nx-libs-f40792c436c2e0678f46478002830367b683f20c.zip
Initialize XRandR based Xinerama extension properly when session is started with "-geometry fullscreen".
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.c b/nx-X11/programs/Xserver/hw/nxagent/Events.c
index 03b14f0dc..c04481c92 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Events.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Events.c
@@ -3485,7 +3485,7 @@ int nxagentHandleConfigureNotify(XEvent* X)
}
else
{
- if (X -> xconfigure.window == DefaultRootWindow(nxagentDisplay))
+ if ( (X -> xconfigure.window == DefaultRootWindow(nxagentDisplay)) || nxagentFullscreenWindow )
{
#ifdef TEST
fprintf(stderr, "nxagentHandleConfigureNotify: remote root window has changed: %d,%d %dx%d\n", X -> xconfigure.x, X -> xconfigure.y, X -> xconfigure.width, X -> xconfigure.height);