Don't raise floating windows when focused because of focus_follows_mouse
Fixes #2990.
This commit is contained in:
@ -412,7 +412,7 @@ static void _workspace_show(Con *workspace) {
|
||||
if (next->urgent && (int)(config.workspace_urgency_timer * 1000) > 0) {
|
||||
/* focus for now… */
|
||||
next->urgent = false;
|
||||
con_focus(next);
|
||||
con_activate(next);
|
||||
|
||||
/* … but immediately reset urgency flags; they will be set to false by
|
||||
* the timer callback in case the container is focused at the time of
|
||||
@ -435,7 +435,7 @@ static void _workspace_show(Con *workspace) {
|
||||
ev_timer_again(main_loop, focused->urgency_timer);
|
||||
}
|
||||
} else
|
||||
con_focus(next);
|
||||
con_activate(next);
|
||||
|
||||
ipc_send_workspace_event("focus", workspace, current);
|
||||
|
||||
@ -837,7 +837,7 @@ void ws_force_orientation(Con *ws, orientation_t orientation) {
|
||||
con_fix_percent(ws);
|
||||
|
||||
if (old_focused)
|
||||
con_focus(old_focused);
|
||||
con_activate(old_focused);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user