does not set only floating, also resize

This commit is contained in:
Julien Danjou 2008-01-11 13:37:45 +01:00
parent 901f1da5ca
commit 72338dc74f
1 changed files with 4 additions and 0 deletions

4
ewmh.c
View File

@ -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)