summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-03 21:10:15 +0000
committerDana Jansens <danakj@orodu.net>2007-03-03 21:10:15 +0000
commitaa852556c0bc12e41a24da01df031d1eb886f9fa (patch)
treed737693c122cdd5274d3e1e1fe707c23ecfa6270
parent73671503fa34581bbe52e3d8cf38014bd29dd2c6 (diff)
let the configuration file changes affect windows' decroations and functionality on reconfigure (fix keepBorder bug 2841
-rw-r--r--openbox/openbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/openbox.c b/openbox/openbox.c
index 91d968e9..087efd6b 100644
--- a/openbox/openbox.c
+++ b/openbox/openbox.c
@@ -287,6 +287,9 @@ gint main(gint argc, gchar **argv)
/* redecorate all existing windows */
for (it = client_list; it; it = g_list_next(it)) {
ObClient *c = it->data;
+ /* the new config can change the window's decorations */
+ client_setup_decor_and_functions(c);
+ /* redraw the frames */
frame_adjust_area(c->frame, TRUE, TRUE, FALSE);
}
}