diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-30 22:34:03 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:26:31 +0100 |
commit | a72f77fc9face4e9854959c5c2ad4915db8c39e8 (patch) | |
tree | 8e756f140ffc7f85d3ad3dcc96190f31f9e4aa6d /nx-X11/programs/Xserver/hw/nxagent/Window.c | |
parent | fec462906588e9adc4533b3814b200531e527f64 (diff) | |
download | nx-libs-a72f77fc9face4e9854959c5c2ad4915db8c39e8.tar.gz nx-libs-a72f77fc9face4e9854959c5c2ad4915db8c39e8.tar.bz2 nx-libs-a72f77fc9face4e9854959c5c2ad4915db8c39e8.zip |
nxagent: treat nxagentLastWindowDestroyed as Boolean
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c index 54e553338..a5f457796 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Window.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c @@ -643,7 +643,7 @@ Bool nxagentDestroyWindow(WindowPtr pWin) } if (nxagentOption(Rootless) && nxagentRootlessDialogPid == 0 && - nxagentLastWindowDestroyed == False && nxagentSomeWindowsAreMapped() == False) + !nxagentLastWindowDestroyed && nxagentSomeWindowsAreMapped() == False) { #ifdef TEST fprintf(stderr, "nxagentDestroyWindow: Last mapped window as been destroyed.\n"); |