diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-07-13 15:52:47 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-13 23:09:55 +0100 |
commit | 0852aa52cb1263f8dd08ef7ce32b43ca04a52c5c (patch) | |
tree | 26d49f2dd4dcc7f0b232153efe716eac22262d88 | |
parent | 1923f49ddc9b3d693cdd8d00f62ab4862b04c0ca (diff) | |
download | nx-libs-0852aa52cb1263f8dd08ef7ce32b43ca04a52c5c.tar.gz nx-libs-0852aa52cb1263f8dd08ef7ce32b43ca04a52c5c.tar.bz2 nx-libs-0852aa52cb1263f8dd08ef7ce32b43ca04a52c5c.zip |
always notify on size changes
this ensures that randr updates its private structures
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Screen.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c index 37374ab1d..d642f63b7 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c @@ -3675,7 +3675,6 @@ RRModePtr nxagentRRCustomMode = NULL; */ void nxagentAdjustCustomMode(ScreenPtr pScreen) { - int doNotify = TRUE; rrScrPrivPtr pScrPriv = rrGetScrPriv(pScreen); RROutputPtr output; @@ -3735,8 +3734,6 @@ void nxagentAdjustCustomMode(ScreenPtr pScreen) RRCrtcSet(crtc, nxagentRRCustomMode, 0, 0, RR_Rotate_0, 1, &output); RROutputChanged(output, 1); - - doNotify = FALSE; } pScrPriv -> lastSetTime = currentTime; @@ -3745,10 +3742,7 @@ void nxagentAdjustCustomMode(ScreenPtr pScreen) pScrPriv->configChanged = 1; } /* if (pScrPriv) */ - if (doNotify) - { - RRScreenSizeNotify(pScreen); - } + RRScreenSizeNotify(pScreen); } int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, int mmHeight) |