Allow delayed focus to work while in a menu or move/resize since it wont kill them now

This commit is contained in:
Dana Jansens 2009-12-17 16:03:20 -05:00
parent a067628051
commit 01fd9f99cc

View file

@ -1918,9 +1918,6 @@ 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;
event_curserial = d->serial;
if (client_focus(d->client) && config_focus_raise)