[Xfce4-commits] <xfwm4:libxfce4ui> Grab keyboard/pointer of root win
Olivier Fourdan
noreply at xfce.org
Sun Jan 10 10:24:27 CET 2010
Updating branch refs/heads/libxfce4ui
to fd81e70fe76e233cf95f199fc12dcf1516ad5584 (commit)
from c840d41acb25349d031dc60b219976a7df97b395 (commit)
commit fd81e70fe76e233cf95f199fc12dcf1516ad5584
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Sat Oct 10 20:32:55 2009 +0200
Grab keyboard/pointer of root win
src/screen.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/screen.c b/src/screen.c
index aa4969a..e7b8a2a 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -403,8 +403,8 @@ myScreenGrabKeyboard (ScreenInfo *screen_info, guint32 timestamp)
if (screen_info->key_grabs == 0)
{
grab = (XGrabKeyboard (myScreenGetXDisplay (screen_info),
- screen_info->xfwm4_win,
- FALSE,
+ screen_info->xroot,
+ TRUE,
GrabModeAsync, GrabModeAsync,
(Time) timestamp) == GrabSuccess);
}
@@ -426,7 +426,7 @@ myScreenGrabPointer (ScreenInfo *screen_info, unsigned int event_mask, Cursor cu
if (screen_info->pointer_grabs == 0)
{
grab = (XGrabPointer (myScreenGetXDisplay (screen_info),
- screen_info->xfwm4_win,
+ screen_info->xroot,
FALSE, event_mask,
GrabModeAsync, GrabModeAsync,
screen_info->xroot,
More information about the Xfce4-commits
mailing list