diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-08-03 19:50:36 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-08-03 19:50:36 -0400 |
| commit | 1ed9988132cb57a94508e20bd50b98b673d576a3 (patch) | |
| tree | 6532cfd6c9d9451b3198a74a61611587146af0b0 /openbox | |
| parent | fa05df8b0c461aa37f5f9838bcfb3af6ef6b9955 (diff) | |
don't make delayed focus-follows-mouse interupt menus and move/resizes
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c index 62778bce..522305a8 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1837,6 +1837,9 @@ static gboolean focus_delay_func(gpointer data) ObFocusDelayData *d = data; Time old = event_curtime; + /* don't move focus and kill the menu or the move/resize */ + if (menu_frame_visible || moveresize_in_progress) return FALSE; + event_curtime = d->time; if (focus_client != d->client) { if (client_focus(d->client) && config_focus_raise) |
