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:
1fd07ad
)
always ungrab the keyboard/mouse with current time because i dont know what else...
author
Dana Jansens
<danakj@orodu.net>
Sun, 3 Jun 2007 16:59:24 +0000
(16:59 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 3 Jun 2007 16:59:24 +0000
(16:59 +0000)
openbox/grab.c
patch
|
blob
|
history
diff --git
a/openbox/grab.c
b/openbox/grab.c
index ac91a6bcdb692f442c5aa3b9f9b565b2949061ad..1fd2493f735bea7bcb029b20849695786b31d711 100644
(file)
--- a/
openbox/grab.c
+++ b/
openbox/grab.c
@@
-84,7
+84,7
@@
gboolean grab_keyboard_full(gboolean grab)
ret = TRUE;
} else if (kgrabs > 0) {
if (--kgrabs == 0) {
- XUngrabKeyboard(ob_display,
ungrab_time()
);
+ XUngrabKeyboard(ob_display,
CurrentTime
);
}
ret = TRUE;
}
@@
-113,7
+113,7
@@
gboolean grab_pointer_full(gboolean grab, gboolean owner_events,
ret = TRUE;
} else if (pgrabs > 0) {
if (--pgrabs == 0) {
- XUngrabPointer(ob_display,
ungrab_time()
);
+ XUngrabPointer(ob_display,
CurrentTime
);
}
ret = TRUE;
}