does not set only floating, also resize
This commit is contained in:
parent
901f1da5ca
commit
72338dc74f
4
ewmh.c
4
ewmh.c
|
@ -286,9 +286,13 @@ ewmh_process_window_type_atom(Client *c, Atom state)
|
||||||
c->skip = True;
|
c->skip = True;
|
||||||
c->isfixed = True;
|
c->isfixed = True;
|
||||||
c->isfloating = True;
|
c->isfloating = True;
|
||||||
|
client_resize(c, c->f_geometry, False);
|
||||||
}
|
}
|
||||||
else if (state == net_wm_window_type_dialog)
|
else if (state == net_wm_window_type_dialog)
|
||||||
|
{
|
||||||
c->isfloating = True;
|
c->isfloating = True;
|
||||||
|
client_resize(c, c->f_geometry, False);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
ewmh_process_client_message(XClientMessageEvent *ev)
|
ewmh_process_client_message(XClientMessageEvent *ev)
|
||||||
|
|
Loading…
Reference in New Issue