let the configuration file changes affect windows' decroations and functionality...
authorDana Jansens <danakj@orodu.net>
Sat, 3 Mar 2007 21:10:15 +0000 (21:10 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 3 Mar 2007 21:10:15 +0000 (21:10 +0000)
openbox/openbox.c

index 91d968e..087efd6 100644 (file)
@@ -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);
                 }
             }