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:
ba93a3a
)
None instead of TRUE/FALSE to XGrabPointer (?)
author
Mikael Magnusson
<mikachu@comhem.se>
Sat, 30 Oct 2004 19:36:40 +0000
(19:36 +0000)
committer
Mikael Magnusson
<mikachu@comhem.se>
Sat, 30 Oct 2004 19:36:40 +0000
(19:36 +0000)
openbox/grab.c
patch
|
blob
|
history
diff --git
a/openbox/grab.c
b/openbox/grab.c
index
91f7915
..
1515a3a
100644
(file)
--- a/
openbox/grab.c
+++ b/
openbox/grab.c
@@
-75,7
+75,7
@@
gboolean grab_pointer(gboolean grab, ObCursor cur)
if (pgrabs++ == 0) {
ret = XGrabPointer(ob_display, screen_support_win,
False, GRAB_PTR_MASK, GrabModeAsync,
- GrabModeAsync,
FALSE
,
+ GrabModeAsync,
None
,
ob_cursor(cur), event_lasttime) == Success;
if (!ret)
--pgrabs;
@@
-97,7
+97,7
@@
gboolean grab_pointer_window(gboolean grab, ObCursor cur, Window win)
if (grab) {
if (pgrabs++ == 0) {
ret = XGrabPointer(ob_display, win, False, GRAB_PTR_MASK,
- GrabModeAsync, GrabModeAsync,
TRUE
,
+ GrabModeAsync, GrabModeAsync,
None
,
ob_cursor(cur),
event_lasttime) == Success;
if (!ret)