From d176770c151e99d226c0fc4194d16b5cc9bbd957 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 29 Jun 2021 19:02:35 +0200 Subject: [PATCH] steamcompmgr: add comment about our iconic handling --- src/steamcompmgr.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 7e66b5e..1d9897c 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -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,