summaryrefslogtreecommitdiff
path: root/openbox/grab.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-03 17:07:26 +0000
committerDana Jansens <danakj@orodu.net>2007-06-03 17:07:26 +0000
commit47d63718c664f2ef58f5dfde42ebfc5cc57e123c (patch)
tree035d61540106242771f8e6724adb40e4ff708311 /openbox/grab.c
parentc61c7e73298ca435d8308dd3e09be4f04a665ca5 (diff)
revert 7283 until we find out what version they are using
Diffstat (limited to 'openbox/grab.c')
-rw-r--r--openbox/grab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/grab.c b/openbox/grab.c
index 1fd2493f..ac91a6bc 100644
--- 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, CurrentTime);
+ XUngrabKeyboard(ob_display, ungrab_time());
}
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, CurrentTime);
+ XUngrabPointer(ob_display, ungrab_time());
}
ret = TRUE;
}