aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-05-11 18:33:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-10-17 22:38:05 +0200
commit0f8ed4d103b3f68d5cedaa611b47b7cdb1e0517c (patch)
tree751e704a4462add3aab71f76421725d650f4a006 /nx-X11
parent7a02b4aba77a64b38992f1a20d8c851bdcc11500 (diff)
downloadnx-libs-0f8ed4d103b3f68d5cedaa611b47b7cdb1e0517c.tar.gz
nx-libs-0f8ed4d103b3f68d5cedaa611b47b7cdb1e0517c.tar.bz2
nx-libs-0f8ed4d103b3f68d5cedaa611b47b7cdb1e0517c.zip
Screen.c: fix resizing bug with mutter window manager
Not really sure why I introduced the client check years ago. Grabbed is grabbed, so I don't see a reason implementing it this way. Fixes ArcticaProject/nx-libs#925.
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 2bdc4bde5..4654bbfcd 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -3675,7 +3675,7 @@ int nxagentChangeScreenConfig(int screen, int width, int height)
fprintf(stderr, "nxagentChangeScreenConfig: grabstate [UNKNOWN], client [%p]\n", (void *) nxagentGrabServerInfo.client);
#endif
- if (nxagentGrabServerInfo.grabstate == SERVER_GRABBED && nxagentGrabServerInfo.client != NULL)
+ if (nxagentGrabServerInfo.grabstate == SERVER_GRABBED)
{
/*
* If any client grabbed the server it won't expect screen