Fix maximized windows and such after screen resizings
authorDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 01:04:54 +0000 (21:04 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 22:51:52 +0000 (18:51 -0400)
openbox/screen.c

index 91bbb4e..ffe74a0 100644 (file)
@@ -499,8 +499,10 @@ void screen_resize(void)
     /* this calls screen_update_areas(), which we need ! */
     dock_configure();
 
     /* this calls screen_update_areas(), which we need ! */
     dock_configure();
 
-    for (it = client_list; it; it = g_list_next(it))
+    for (it = client_list; it; it = g_list_next(it)) {
         client_move_onscreen(it->data, FALSE);
         client_move_onscreen(it->data, FALSE);
+        client_reconfigure(it->data, FALSE);
+    }
 }
 
 void screen_set_num_desktops(guint num)
 }
 
 void screen_set_num_desktops(guint num)