remove focus ignore/steal stuff. use apps that behave.

This commit is contained in:
seanpringle
2012-11-07 18:01:28 +10:00
parent b9eacb9f50
commit 019d6c210b
3 changed files with 1 additions and 10 deletions

View File

@@ -99,9 +99,7 @@ void map_notify(XEvent *e)
{
client_raise_family(c);
client_update_border(c);
// if no current window, or new window has opened in the current spot, focus it
if (FOCUS_START == FOCUS_STEAL || !(a = window_build_client(current)) || (a && a->spot == c->spot))
client_set_focus(c);
client_set_focus(c);
client_free(a);
ewmh_client_list();
update_bars();