diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-05-19 20:59:02 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-10-17 22:38:05 +0200 |
commit | 8deda7bd4f1ada976010c2edcd7cab9a4bdf8140 (patch) | |
tree | 57e5843d2307812aada89e3d105014040dc1366c /nx-X11/programs/Xserver/hw/nxagent/Extensions.c | |
parent | abe5e8479aca9f53ed4778336978bf7bd623c56a (diff) | |
download | nx-libs-8deda7bd4f1ada976010c2edcd7cab9a4bdf8140.tar.gz nx-libs-8deda7bd4f1ada976010c2edcd7cab9a4bdf8140.tar.bz2 nx-libs-8deda7bd4f1ada976010c2edcd7cab9a4bdf8140.zip |
nxagent: Prevent resize loop
This only happened with certain window managers like mutter.
Fixes ArcticaProject/nx-libs#925
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Extensions.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Extensions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Extensions.c b/nx-X11/programs/Xserver/hw/nxagent/Extensions.c index 239d84b85..52c3b0375 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Extensions.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Extensions.c @@ -378,7 +378,7 @@ int nxagentRandRSetConfig(ScreenPtr pScreen, Rotation rotation, */ int r = nxagentResizeScreen(pScreen, pSize -> width, pSize -> height, - pSize -> mmWidth, pSize -> mmHeight); + pSize -> mmWidth, pSize -> mmHeight, True); nxagentMoveViewport(pScreen, 0, 0); @@ -448,7 +448,7 @@ int nxagentRandRScreenSetSize(ScreenPtr pScreen, CARD16 width, CARD16 height, nxagentChangeOption(Height, height); } - int result = nxagentResizeScreen(pScreen, width, height, mmWidth, mmHeight); + int result = nxagentResizeScreen(pScreen, width, height, mmWidth, mmHeight, True); if (result == 1 && nxagentOption(DesktopResize) == 1 && nxagentOption(Fullscreen) == 0 && nxagentOption(AllScreens) == 0) |