diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-01-11 00:59:55 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2019-01-14 00:09:27 +0100 |
commit | d175fd4c6d7872bf51c8509a678fecd84a14850a (patch) | |
tree | 8a528fba176954c63117dda130d5292bf3103897 /nx-X11/programs/Xserver/hw | |
parent | 4a7faa8bd0b8918900f442d097a6e946415d1ea7 (diff) | |
download | nx-libs-d175fd4c6d7872bf51c8509a678fecd84a14850a.tar.gz nx-libs-d175fd4c6d7872bf51c8509a678fecd84a14850a.tar.bz2 nx-libs-d175fd4c6d7872bf51c8509a678fecd84a14850a.zip |
Set default screen size to the whole screen in rootless mode
This solves weird window (menu) placement and drawing behaviour on right/lowest
25% of the screen.
Fixes ArcticaProject/nx-libs#757 (Part 1/2)
Diffstat (limited to 'nx-X11/programs/Xserver/hw')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Display.c b/nx-X11/programs/Xserver/hw/nxagent/Display.c index 448969d44..127874962 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Display.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Display.c @@ -1356,7 +1356,7 @@ FIXME: Use of nxagentParentWindow is strongly deprecated. { if (!(nxagentUserGeometry.flag & WidthValue)) { - if (nxagentOption(Fullscreen)) + if (nxagentOption(Fullscreen) || nxagentOption(Rootless)) { nxagentChangeOption(RootWidth, DisplayWidth(nxagentDisplay, DefaultScreen(nxagentDisplay))); } @@ -1369,7 +1369,7 @@ FIXME: Use of nxagentParentWindow is strongly deprecated. if (!(nxagentUserGeometry.flag & HeightValue)) { - if (nxagentOption(Fullscreen)) + if (nxagentOption(Fullscreen) || nxagentOption(Rootless)) { nxagentChangeOption(RootHeight, DisplayHeight(nxagentDisplay, DefaultScreen(nxagentDisplay))); } |