Skip to content

Commit

Permalink
Screen.c: remove superflous code that produces a crash
Browse files Browse the repository at this point in the history
Fixes #987
  • Loading branch information
uli42 committed Jan 16, 2021
1 parent f60ac57 commit a83ec33
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nx-X11/programs/Xserver/hw/nxagent/Screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
*/
Expand Down

0 comments on commit a83ec33

Please sign in to comment.