always ungrab the keyboard/mouse with current time because i dont know what else we can do with buggy x.org
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
openbox/grab.c
→
openbox/grab.c
@@ -84,7 +84,7 @@ } else
ret = TRUE; } else if (kgrabs > 0) { if (--kgrabs == 0) { - XUngrabKeyboard(ob_display, ungrab_time()); + XUngrabKeyboard(ob_display, CurrentTime); } ret = TRUE; }@@ -113,7 +113,7 @@ } else
ret = TRUE; } else if (pgrabs > 0) { if (--pgrabs == 0) { - XUngrabPointer(ob_display, ungrab_time()); + XUngrabPointer(ob_display, CurrentTime); } ret = TRUE; }