]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
give clients being restored from a session a little more flexibility in lpacement...
[chaz/openbox] / openbox / client.c
index 8216c44727915f3b5c87906a45818e4a040f967f..619531de131a69df64e460e3c792d7204e89ef13 100644 (file)
@@ -346,7 +346,11 @@ void client_manage(Window window)
         client_find_onscreen(self, &x, &y,
                              self->frame->area.width,
                              self->frame->area.height,
-                             client_normal(self));
+                             /* non-normal clients has less rules, and
+                                windows that are being restored from a session
+                                do also. we can assume you want it back where
+                                you saved it */
+                             client_normal(self) && !self->session);
 
         if (x != ox || y != oy)
             client_move(self, x, y);
This page took 0.019864 seconds and 4 git commands to generate.