steamcompmgr: Make sure to repaint on focus window change

This commit is contained in:
Joshua Ashton 2021-11-19 18:33:40 +00:00 committed by Pierre-Loup A. Griffais
parent 6697abc766
commit 623c457721

View file

@ -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 };