mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
cvsimport
* refs/heads/master: Fix group hidden state when a client wants to be on all desktops on start; reported by Vadim Vygonets with diff, but another approach was taken. Call client_resize instead of client_move after client_placecalc since the size may also change.
This commit is contained in:
commit
ab8da61802
2
client.c
2
client.c
@ -100,7 +100,7 @@ client_init(Window win, struct screen_ctx *sc, int active)
|
||||
|
||||
if (wattr.map_state != IsViewable) {
|
||||
client_placecalc(cc);
|
||||
client_move(cc);
|
||||
client_resize(cc, 0);
|
||||
if ((cc->wmh) && (cc->wmh->flags & StateHint))
|
||||
client_set_wm_state(cc, cc->wmh->initial_state);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user