aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-01-16 22:13:05 +0100
committerUlrich Sibiller <uli42@gmx.de>2021-01-16 22:37:03 +0100
commita83ec33d5f4d4d60e25d14053282c31dc0e09655 (patch)
treed20e100964349092013b7c91c9a1f01bf28e9fa2 /nx-X11/programs/Xserver/hw/nxagent
parentf60ac577713c28212cdf2f4203b2cc0726034f5f (diff)
downloadnx-libs-a83ec33d5f4d4d60e25d14053282c31dc0e09655.tar.gz
nx-libs-a83ec33d5f4d4d60e25d14053282c31dc0e09655.tar.bz2
nx-libs-a83ec33d5f4d4d60e25d14053282c31dc0e09655.zip
Screen.c: remove superflous code that produces a crash
Fixes ArcticaProject/nx-libs#987
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 173d2fb82..a6b312aaa 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -337,12 +337,6 @@ void nxagentMinimizeFromFullScreen(ScreenPtr pScreen)
*/
void nxagentMaximizeToFullScreen(ScreenPtr pScreen)
{
- if (nxagentOption(AllScreens))
- nxagentSwitchAllScreens(pScreen, True);
- else
- nxagentSwitchFullscreen(pScreen, True);
- return;
-
/*
XUnmapWindow(nxagentDisplay, nxagentIconWindow);
*/