From a83ec33d5f4d4d60e25d14053282c31dc0e09655 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Sat, 16 Jan 2021 22:13:05 +0100 Subject: Screen.c: remove superflous code that produces a crash Fixes ArcticaProject/nx-libs#987 --- nx-X11/programs/Xserver/hw/nxagent/Screen.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'nx-X11/programs/Xserver/hw') 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); */ -- cgit v1.2.3