aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Window.c
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:59:00 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:59:00 +0200
commite6db7e93608570765b3b6133ebb60d746c81aeeb (patch)
tree2e5197013f6a0ffbbbfdf5f321a00c4a15ac5908 /nx-X11/programs/Xserver/hw/nxagent/Window.c
parentb7494f082ad56049c24927afdf89abc852fe06bb (diff)
downloadnx-libs-e6db7e93608570765b3b6133ebb60d746c81aeeb.tar.gz
nx-libs-e6db7e93608570765b3b6133ebb60d746c81aeeb.tar.bz2
nx-libs-e6db7e93608570765b3b6133ebb60d746c81aeeb.zip
Imported nxagent-3.4.0-9.tar.gznxagent/3.4.0-9
Summary: Imported nxagent-3.4.0-9.tar.gz Keywords: Imported nxagent-3.4.0-9.tar.gz into Git repository
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Window.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 2403390b8..2da21b91c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -768,10 +768,14 @@ void nxagentSwitchFullscreen(ScreenPtr pScreen, Bool switchOn)
if (switchOn == 1)
{
nxagentFullscreenWindow = nxagentDefaultWindows[pScreen -> myNum];
+
+ nxagentGrabPointerAndKeyboard(NULL);
}
else
{
nxagentFullscreenWindow = None;
+
+ nxagentUngrabPointerAndKeyboard(NULL);
}
}