summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-28 04:26:14 +0000
committerDana Jansens <danakj@orodu.net>2007-05-28 04:26:14 +0000
commit123ee25c59bcb875e6aff82c7dda299a15c79a2d (patch)
treedc2d827d4d88ba87ffe75d1db09d9f786f97ea14 /openbox
parent2a84418ee441d77d0d07760cbfc8359d0db624f4 (diff)
final touches for r6990-6992
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c8
-rw-r--r--openbox/openbox.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/openbox/client.c b/openbox/client.c
index e953a613..3456c5f8 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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);
}
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 4c2c185f..ce92d522 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -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);
}
}