]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
double deref, props to 'mmj' for spotting this
[chaz/openbox] / openbox / client.c
index e905a6f97ca9faf8753252d278a42c30b9a0741b..f1dc11aa03a62f802df400ba164e77ac0a776f44 100644 (file)
@@ -272,6 +272,8 @@ void client_manage(Window window)
         (self->type == OB_CLIENT_TYPE_NORMAL ||
          self->type == OB_CLIENT_TYPE_DIALOG))
     {        
+        activate = TRUE;
+#if 0
         if (self->desktop != screen_desktop) {
             /* activate the window */
             activate = TRUE;
@@ -301,6 +303,7 @@ void client_manage(Window window)
                 activate = TRUE;
             }
         }
+#endif
     }
 
     dispatch_client(Event_Client_New, self, 0, 0);
This page took 0.020261 seconds and 4 git commands to generate.