From 623c4577213c9ee05c395a40aebc31b32f9382ec Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Fri, 19 Nov 2021 18:33:40 +0000 Subject: [PATCH] steamcompmgr: Make sure to repaint on focus window change --- src/steamcompmgr.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 080c617..1cae86a 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -1840,6 +1840,8 @@ found: // if (fadeOutWindow.id && currentFocusWindow != focus->id) if ( prevFocusWindow != focus->id ) { + hasRepaint = true; + /* 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 };