From 72338dc74fc5aecd2e93a0dfca488f9d8917f07d Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 11 Jan 2008 13:37:45 +0100 Subject: [PATCH] does not set only floating, also resize --- ewmh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ewmh.c b/ewmh.c index 532f6e6f..247c9f6f 100644 --- a/ewmh.c +++ b/ewmh.c @@ -286,9 +286,13 @@ ewmh_process_window_type_atom(Client *c, Atom state) c->skip = True; c->isfixed = True; c->isfloating = True; + client_resize(c, c->f_geometry, False); } else if (state == net_wm_window_type_dialog) + { c->isfloating = True; + client_resize(c, c->f_geometry, False); + } } void ewmh_process_client_message(XClientMessageEvent *ev)