]> Dogcows Code - chaz/openbox/commitdiff
final touches for r6990-6992
authorDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 04:26:14 +0000 (04:26 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 04:26:14 +0000 (04:26 +0000)
openbox/client.c
openbox/openbox.c

index e953a61382a8214b30214279c847f4ddb913b3df..3456c5f8928e3f105feb74b383ae4c7a87f5cd97 100644 (file)
@@ -598,7 +598,7 @@ ObClient *client_fake_manage(Window window)
        uses too. this returns a shallow copy that needs to be freed */
     settings = client_get_settings_state(self);
 
-    client_setup_decor_and_functions(self);
+    client_setup_decor_and_functions(self, FALSE);
 
     /* create the decoration frame for the client window and adjust its size */
     self->frame = frame_new(self);
@@ -2967,8 +2967,7 @@ void client_fullscreen(ObClient *self, gboolean fs)
         RECT_SET(self->pre_fullscreen_area, 0, 0, 0, 0);
     }
 
-    client_setup_decor_and_functions(self);
-
+    client_setup_decor_and_functions(self, FALSE);
     client_move_resize(self, x, y, w, h);
 
     /* and adjust our layer/stacking. do this after resizing the window,
@@ -3112,8 +3111,7 @@ void client_maximize(ObClient *self, gboolean max, gint dir)
 
     client_change_state(self); /* change the state hints on the client */
 
-    client_setup_decor_and_functions(self);
-
+    client_setup_decor_and_functions(self, FALSE);
     client_move_resize(self, x, y, w, h);
 }
 
index 4c2c185f2b31b8fd700793cba723686ac8ee6df6..ce92d5228ae196d99d914d6dacbb9f33877e5c9d 100644 (file)
@@ -329,6 +329,8 @@ gint main(gint argc, gchar **argv)
                     ObClient *c = it->data;
                     /* the new config can change the window's decorations */
                     client_setup_decor_and_functions(c, TRUE);
+                    /* redraw the frames */
+                    frame_adjust_area(c->frame, TRUE, TRUE, FALSE);
                 }
             }
 
This page took 0.026337 seconds and 4 git commands to generate.