Merge branch 'master' into next
This commit is contained in:
@ -505,7 +505,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
|
||||
|
||||
/* Defer setting focus after the 'new' event has been sent to ensure the
|
||||
* proper window event sequence. */
|
||||
if (set_focus && !nc->window->doesnt_accept_focus) {
|
||||
if (set_focus && !nc->window->doesnt_accept_focus && nc->mapped) {
|
||||
DLOG("Now setting focus.\n");
|
||||
con_focus(nc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user