Skip to content

Commit

Permalink
Screen.c: fix resizing bug with mutter window manager
Browse files Browse the repository at this point in the history
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 #925.
  • Loading branch information
uli42 authored and sunweaver committed Oct 17, 2020
1 parent 7a02b4a commit 0f8ed4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx-X11/programs/Xserver/hw/nxagent/Screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f8ed4d

Please sign in to comment.