]> Dogcows Code - chaz/openbox/commitdiff
call client_reconfigure after setup_decor_and_functions to make the changes appear
authorDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 04:14:03 +0000 (04:14 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 04:14:03 +0000 (04:14 +0000)
openbox/event.c

index 9b3021b40eb5105ef0eb2c50c0e1ace1e50c4c31..ff2d560db7dccbdb0bf392bd741483a800038169 100644 (file)
@@ -1431,6 +1431,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
             client_update_normal_hints(client);
             /* normal hints can make a window non-resizable */
             client_setup_decor_and_functions(client);
             client_update_normal_hints(client);
             /* normal hints can make a window non-resizable */
             client_setup_decor_and_functions(client);
+            client_reconfigure(client);
         } else if (msgtype == XA_WM_HINTS) {
             client_update_wmhints(client);
         } else if (msgtype == XA_WM_TRANSIENT_FOR) {
         } else if (msgtype == XA_WM_HINTS) {
             client_update_wmhints(client);
         } else if (msgtype == XA_WM_TRANSIENT_FOR) {
@@ -1439,6 +1440,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
             /* type may have changed, so update the layer */
             client_calc_layer(client);
             client_setup_decor_and_functions(client);
             /* type may have changed, so update the layer */
             client_calc_layer(client);
             client_setup_decor_and_functions(client);
+            client_reconfigure(client);
         } else if (msgtype == prop_atoms.net_wm_name ||
                    msgtype == prop_atoms.wm_name ||
                    msgtype == prop_atoms.net_wm_icon_name ||
         } else if (msgtype == prop_atoms.net_wm_name ||
                    msgtype == prop_atoms.wm_name ||
                    msgtype == prop_atoms.net_wm_icon_name ||
@@ -1447,6 +1449,7 @@ static void event_handle_client(ObClient *client, XEvent *e)
         } else if (msgtype == prop_atoms.wm_protocols) {
             client_update_protocols(client);
             client_setup_decor_and_functions(client);
         } else if (msgtype == prop_atoms.wm_protocols) {
             client_update_protocols(client);
             client_setup_decor_and_functions(client);
+            client_reconfigure(client);
         }
         else if (msgtype == prop_atoms.net_wm_strut) {
             client_update_strut(client);
         }
         else if (msgtype == prop_atoms.net_wm_strut) {
             client_update_strut(client);
This page took 0.028422 seconds and 4 git commands to generate.