diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-03 16:59:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-03 16:59:24 +0000 |
| commit | c61c7e73298ca435d8308dd3e09be4f04a665ca5 (patch) | |
| tree | 51302d43cf1aa0b78633afdbdecf7c086536dc0c | |
| parent | 1fd07ad51d7952fe33acd8c39808e3e9e714ca4b (diff) | |
always ungrab the keyboard/mouse with current time because i dont know what else we can do with buggy x.org
| -rw-r--r-- | openbox/grab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/grab.c b/openbox/grab.c index ac91a6bc..1fd2493f 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, 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; } |
