]> Dogcows Code - chaz/openbox/commitdiff
onyl focus 'normal' windows on map
authorDana Jansens <danakj@orodu.net>
Sun, 13 Apr 2003 21:47:39 +0000 (21:47 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 13 Apr 2003 21:47:39 +0000 (21:47 +0000)
openbox/client.c

index 519c41b976755360b92eaca9ded711fdda84708f..63619e71e0a82100c7cba994c33d74ab3410eca2 100644 (file)
@@ -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) {
This page took 0.031142 seconds and 4 git commands to generate.