diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-18 06:09:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-18 06:09:44 +0000 |
| commit | 3b1e518dbc2bf468db93ba6ea923c71c74b4b3cb (patch) | |
| tree | eeaccbc8cff9e9bbf9488a5577206dd6210ff562 /openbox | |
| parent | 5da2b67298d8671c5885f7526bb112dd5c8eb38b (diff) | |
while doing a moveresize, the client actions act on will be the client being moveresized
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/openbox/event.c b/openbox/event.c index 051e29c0..d3e5ad72 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -541,9 +541,14 @@ static void event_process(const XEvent *ec, gpointer data) 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, G_USEC_PER_SEC / 4, @@ -558,8 +563,7 @@ static void event_process(const XEvent *ec, gpointer data) 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); } } } |
