summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-28 04:14:03 +0000
committerDana Jansens <danakj@orodu.net>2007-05-28 04:14:03 +0000
commit2f579df4e7b3af6c9a715e8921dcca9e9140d32e (patch)
tree8190d5977297bac1f0761ba78a6bf116f51a3e74 /openbox
parentcc2237bb4f1ff3f32b58e8714f7ba72538df0d91 (diff)
call client_reconfigure after setup_decor_and_functions to make the changes appear
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 9b3021b4..ff2d560d 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -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_reconfigure(client);
} 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);
+ client_reconfigure(client);
} 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);
+ client_reconfigure(client);
}
else if (msgtype == prop_atoms.net_wm_strut) {
client_update_strut(client);