projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
138ee2c
)
grab the pointer on the screen_support_win, causing all mouse events during a grab...
author
Dana Jansens
<danakj@orodu.net>
Tue, 16 Sep 2003 07:48:55 +0000
(07:48 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 16 Sep 2003 07:48:55 +0000
(07:48 +0000)
openbox/grab.c
patch
|
blob
|
history
diff --git
a/openbox/grab.c
b/openbox/grab.c
index
1e2f207
..
96e5873
100644
(file)
--- a/
openbox/grab.c
+++ b/
openbox/grab.c
@@
-2,6
+2,7
@@
#include "openbox.h"
#include "event.h"
#include "xerror.h"
+#include "screen.h"
#include <glib.h>
#include <X11/Xlib.h>
@@
-42,7
+43,7
@@
gboolean grab_pointer(gboolean grab, ObCursor cur)
if (grab) {
if (pgrabs++ == 0)
- ret = XGrabPointer(ob_display,
RootWindow(ob_display, ob_screen)
,
+ ret = XGrabPointer(ob_display,
screen_support_win
,
False, GRAB_PTR_MASK, GrabModeAsync,
GrabModeAsync, FALSE,
ob_cursor(cur), event_lasttime) == Success;