onyl focus 'normal' windows on map

This commit is contained in:
Dana Jansens 2003-04-13 21:47:39 +00:00
parent 58ba751ab7
commit fd1b33af0d

View file

@ -238,7 +238,7 @@ void client_manage(Window window)
dispatch_client(Event_Client_Mapped, self, 0, 0); dispatch_client(Event_Client_Mapped, self, 0, 0);
/* focus the new window? */ /* focus the new window? */
if (ob_state != State_Starting) { if (ob_state != State_Starting && client_normal(self)) {
if (config_focus_new) if (config_focus_new)
client_focus(self); client_focus(self);
else if (self->transient_for) { else if (self->transient_for) {