Commit a83ec33d authored by Ulrich Sibiller's avatar Ulrich Sibiller

Screen.c: remove superflous code that produces a crash

Fixes ArcticaProject/nx-libs#987
parent f60ac577
...@@ -337,12 +337,6 @@ void nxagentMinimizeFromFullScreen(ScreenPtr pScreen) ...@@ -337,12 +337,6 @@ void nxagentMinimizeFromFullScreen(ScreenPtr pScreen)
*/ */
void nxagentMaximizeToFullScreen(ScreenPtr pScreen) void nxagentMaximizeToFullScreen(ScreenPtr pScreen)
{ {
if (nxagentOption(AllScreens))
nxagentSwitchAllScreens(pScreen, True);
else
nxagentSwitchFullscreen(pScreen, True);
return;
/* /*
XUnmapWindow(nxagentDisplay, nxagentIconWindow); XUnmapWindow(nxagentDisplay, nxagentIconWindow);
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment