From: Dana Jansens Date: Sun, 13 Apr 2003 21:47:39 +0000 (+0000) Subject: onyl focus 'normal' windows on map X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=fd1b33af0d93c2e06dd6fc25e7644c924d3c6597;p=chaz%2Fopenbox onyl focus 'normal' windows on map --- diff --git a/openbox/client.c b/openbox/client.c index 519c41b9..63619e71 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -238,7 +238,7 @@ void client_manage(Window window) dispatch_client(Event_Client_Mapped, self, 0, 0); /* focus the new window? */ - if (ob_state != State_Starting) { + if (ob_state != State_Starting && client_normal(self)) { if (config_focus_new) client_focus(self); else if (self->transient_for) {