Subject: Re: bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad

From: Platon Pronko <[email-masked]>
Date: Fri, 14 May 2021 19:07:02 +0300

I propose that we include your patch as is (since it keeps the behaviour you need and fixes the issues - hopefully Basil's issue also goes away).

All the SET_FRAME_GARBAGED and has_been_visible manipulations don't seem to be immediately relevant - redrawing works fine without it. And we shouldn't just copy-paste code with unknown purpose :)