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

From: martin rudalics <[email-masked]>
Date: Sat, 15 May 2021 10:16:12 +0200

> Thank you! I tested the latest master, it works fine. This bug can be closed now.

Let's wait for a day at least.

BTW, you didn't answer one of my earlier questions namely this one:

 >  > Xmonad:
 >  > 1. When switching to different workspace:
 >  >     - FocusOut x3
 >  >     - UnmapNotify x1
 >  >     - LeaveNotify x2
 >  >     - PropertyNotify x2
 >  > 2. When switching back:
 >  >     - MapNotify x1
 >
 > Can you tell me why we do not SET_FRAME_VISIBLE when receiving the
 > MapNotify event here?  Probably because we are not yet visible - though
 > mapped but invisible is a queer state.

In Bug#48129 Tom conjectures that this happens because some WMs do not
set _NET_WM_STATE.  Do you agree with him?  If so, wouldn't it make
sense to skip that x_get_current_wm_state check in MapNotify because it
fails on too many WMs?

martin