self->window, map_time, launch_time,
event_last_user_time);
- if (menu_frame_visible || moveresize_in_progress) {
- activate = FALSE;
- raise = TRUE;
- ob_debug_type(OB_DEBUG_FOCUS,
- "Not focusing the window because the user is inside "
- "an Openbox menu or is move/resizing a window and "
- "we don't want to interrupt them");
- }
-
/* if it's on another desktop */
- else if (!(self->desktop == screen_desktop ||
+ if (!(self->desktop == screen_desktop ||
self->desktop == DESKTOP_ALL) &&
/* the timestamp is from before you changed desktops */
launch_time && screen_desktop_user_time &&
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)
void event_cancel_all_key_grabs(void)
{
+ return;
if (actions_interactive_act_running()) {
actions_interactive_cancel_act();
ob_debug("KILLED interactive action");