mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
since we are drawing in unhide, no need to during client setup
This commit is contained in:
parent
68f365cddb
commit
09e07ddaaf
1
client.c
1
client.c
@ -99,7 +99,6 @@ client_init(Window win, struct screen_ctx *sc, int mapped)
|
|||||||
if ((cc->wmh) && (cc->wmh->flags & StateHint))
|
if ((cc->wmh) && (cc->wmh->flags & StateHint))
|
||||||
client_set_wm_state(cc, cc->wmh->initial_state);
|
client_set_wm_state(cc, cc->wmh->initial_state);
|
||||||
}
|
}
|
||||||
client_draw_border(cc);
|
|
||||||
|
|
||||||
XSelectInput(X_Dpy, cc->win, ColormapChangeMask | EnterWindowMask |
|
XSelectInput(X_Dpy, cc->win, ColormapChangeMask | EnterWindowMask |
|
||||||
PropertyChangeMask | KeyReleaseMask);
|
PropertyChangeMask | KeyReleaseMask);
|
||||||
|
Loading…
Reference in New Issue
Block a user