diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-28 04:18:54 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-28 04:18:54 +0000 |
| commit | be3b78736fc171da4f14c99a22b858ad03237fd8 (patch) | |
| tree | 8d1c0fa184b7ec761bc369f6fd98fb8f39d98d0b /openbox/event.c | |
| parent | 2f579df4e7b3af6c9a715e8921dcca9e9140d32e (diff) | |
better more obvious code
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/openbox/event.c b/openbox/event.c index ff2d560d..096e0d56 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1430,8 +1430,7 @@ static void event_handle_client(ObClient *client, XEvent *e) if (msgtype == XA_WM_NORMAL_HINTS) { client_update_normal_hints(client); /* normal hints can make a window non-resizable */ - client_setup_decor_and_functions(client); - client_reconfigure(client); + client_setup_decor_and_functions(client, TRUE); } else if (msgtype == XA_WM_HINTS) { client_update_wmhints(client); } else if (msgtype == XA_WM_TRANSIENT_FOR) { @@ -1439,8 +1438,7 @@ static void event_handle_client(ObClient *client, XEvent *e) client_get_type_and_transientness(client); /* type may have changed, so update the layer */ client_calc_layer(client); - client_setup_decor_and_functions(client); - client_reconfigure(client); + client_setup_decor_and_functions(client, TRUE); } else if (msgtype == prop_atoms.net_wm_name || msgtype == prop_atoms.wm_name || msgtype == prop_atoms.net_wm_icon_name || @@ -1448,8 +1446,7 @@ static void event_handle_client(ObClient *client, XEvent *e) client_update_title(client); } else if (msgtype == prop_atoms.wm_protocols) { client_update_protocols(client); - client_setup_decor_and_functions(client); - client_reconfigure(client); + client_setup_decor_and_functions(client, TRUE); } else if (msgtype == prop_atoms.net_wm_strut) { client_update_strut(client); |
