all repos — openbox @ ac779e65ac243e44bde4a3eaf11736e2671d7a2d

openbox fork - make it a bit more like ryudo

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
commit

ac779e65ac243e44bde4a3eaf11736e2671d7a2d

parent

d1ceea89bd811d776050d2f6a04370d30a0932b3

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M openbox/focus.copenbox/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; }