grab the mouse during focus cycling. this removes the bug of focusing following the mouse when the popup disappears and fuck up your cycling.
Dana Jansens danakj@orodu.net
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
openbox/focus.c
→
openbox/focus.c
@@ -271,6 +271,9 @@ if (focus_cycle_target)
client_activate(focus_cycle_target); goto done_cycle; } + if (!first) + grab_pointer(TRUE, None); + if (!first) first = focus_client; if (!focus_cycle_target) focus_cycle_target = focus_client;@@ -312,7 +315,10 @@ first = NULL;
focus_cycle_target = NULL; g_list_free(order); order = NULL; + popup_cycle(ft, FALSE); + grab_pointer(FALSE, None); + return NULL; }