[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48413: 28.0.50; emacs does not repaint the window after switching wo
From: |
Platon Pronko |
Subject: |
bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad |
Date: |
Fri, 14 May 2021 18:28:29 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 |
Can you please try the attached patch and tell me whether it improves or
breaks things.
Yes, it fixes things - frame is repainted correctly now.
My attempt was similar, but I included more code alongside SET_FRAME_VISIBLE
(same as in Expose handler):
+ block_input ();
+ SET_FRAME_VISIBLE (f, 1);
+ if (FRAME_X_DOUBLE_BUFFERED_P (f))
+ font_drop_xrender_surfaces (f);
+ f->output_data.x->has_been_visible = true;
+ SET_FRAME_GARBAGED (f);
+ unblock_input ();
I'm not very familiar with Emacs frame internals - we don't need all these here?
Relying on these for setting visibility will fail for anyone who doesn't
send us an Expose event.
I agree, feels a little fragile.
Best regards,
Platon Pronko
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, Platon Pronko, 2021/05/14
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, martin rudalics, 2021/05/14
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, martin rudalics, 2021/05/14
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad,
Platon Pronko <=
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, martin rudalics, 2021/05/14
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, Platon Pronko, 2021/05/14
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, martin rudalics, 2021/05/15
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, Platon Pronko, 2021/05/15
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, martin rudalics, 2021/05/15
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, Platon Pronko, 2021/05/15
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, Basil L. Contovounesios, 2021/05/14
- bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, martin rudalics, 2021/05/15
bug#48413: 28.0.50; emacs does not repaint the window after switching workspaces in Xmonad, Basil L. Contovounesios, 2021/05/14