aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-10-25 20:42:25 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-30 21:17:30 +0200
commit5323e2ceac684f0f688e81fd1dcda29a30204dc4 (patch)
treea152344e111ecba62845800c191d78edfeabdb02
parentcf5bb486de8b720ab39f7d2930485937e3cd0138 (diff)
downloadnx-libs-5323e2ceac684f0f688e81fd1dcda29a30204dc4.tar.gz
nx-libs-5323e2ceac684f0f688e81fd1dcda29a30204dc4.tar.bz2
nx-libs-5323e2ceac684f0f688e81fd1dcda29a30204dc4.zip
Screen.c, Window.c: use "None" everywhere for FullscreenWindow
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 0c1d55f42..7998f35f0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -988,7 +988,7 @@ Bool nxagentOpenScreen(ScreenPtr pScreen, int argc, char *argv[])
nxagentChangeOption(Fullscreen, False);
nxagentChangeOption(AllScreens, False);
- nxagentFullscreenWindow = 0;
+ nxagentFullscreenWindow = None;
resetAgentPosition = True;
}
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 6f98ee57b..b2560a660 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -2579,7 +2579,7 @@ void nxagentMapDefaultWindows(void)
* Ensure that the fullscreen window gets the focus.
*/
- if (nxagentFullscreenWindow != 0)
+ if (nxagentFullscreenWindow != None)
{
XSetInputFocus(nxagentDisplay, nxagentFullscreenWindow,
RevertToParent, CurrentTime);