steamcompmgr: add comment about our iconic handling
This commit is contained in:
parent
f8fbd06af4
commit
d176770c15
1 changed files with 2 additions and 0 deletions
|
@ -604,6 +604,8 @@ set_win_hidden (Display *dpy, win *w, Bool hidden)
|
|||
XChangeProperty(dpy, w->id, netWMStateAtom, XA_ATOM, 32, PropModeReplace,
|
||||
(unsigned char *)&netWMState, netWMStateLen);
|
||||
|
||||
/* Some games (e.g. DOOM Eternal) don't react well to being put back as
|
||||
* iconic, so never do that. Only take them out of iconic. */
|
||||
uint32_t wmState[] = { ICCCM_NORMAL_STATE, None };
|
||||
XChangeProperty(dpy, w->id, WMStateAtom, WMStateAtom, 32,
|
||||
PropModeReplace, (unsigned char *)wmState,
|
||||
|
|
Loading…
Reference in a new issue