while doing a moveresize, the client actions act on will be the client being moveresized
Dana Jansens danakj@orodu.net
1 files changed,
7 insertions(+),
3 deletions(-)
jump to
M
openbox/event.c
→
openbox/event.c
@@ -541,8 +541,13 @@ if (menu_frame_visible)
event_handle_menu(e); else { if (!keyboard_process_interactive_grab(e, &client)) { - if (moveresize_in_progress) + if (moveresize_in_progress) { moveresize_event(e); + + /* make further actions work on the client being + moved/resized */ + client = moveresize_client; + } menu_can_hide = FALSE; ob_main_loop_timeout_add(ob_main_loop,@@ -558,8 +563,7 @@ /* when in the middle of a focus cycling action, this
causes the window which appears to be focused to be the one on which the actions will be executed */ keyboard_event((focus_cycle_target ? - focus_cycle_target : - (client ? client : focus_client)), e); + focus_cycle_target : client), e); } } }