aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-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);