X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Fevent.c;fp=openbox%2Fevent.c;h=3f5c154314896ae28fd7abde9bac3b9bb96c9888;hp=e2fd411f9f351ff830d9a35882bec13bd8a0bd2d;hb=a92c209fc1845cf3f3acdfa3f9e8f0930fd53eb3;hpb=b89cc5859068fd5543dc9e7da3f469fb0c0a7a1c diff --git a/openbox/event.c b/openbox/event.c index e2fd411..3f5c154 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1526,6 +1526,13 @@ static void event_handle_client(ObClient *client, XEvent *e) reconfigure the window if it needs to. emacs will update its normal hints every time it receives a conigurenotify */ client_reconfigure(client, FALSE); + } else if (msgtype == OBT_PROP_ATOM(MOTIF_WM_HINTS)) { + client_get_mwm_hints(client); + /* This can override some mwm hints */ + client_get_type_and_transientness(client); + + /* Apply the changes to the window */ + client_setup_decor_and_functions(client, TRUE); } else if (msgtype == XA_WM_HINTS) { client_update_wmhints(client); } else if (msgtype == XA_WM_TRANSIENT_FOR) {