bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30699: 26.0.91; buffer contents flicker on macOS frames when frames


From: Alan Third
Subject: bug#30699: 26.0.91; buffer contents flicker on macOS frames when frames are resized
Date: Sat, 10 Mar 2018 00:25:55 +0000
User-agent: Mutt/1.9.3 (2018-01-21)

On Fri, Mar 09, 2018 at 11:24:15PM +0000, Alan Third wrote:
> The other solution I have is to use NSDisableScreenUpdates to prevent
> updates being flushed to the screen until after redisplay, but that
> completely breaks resizing with the mouse.

I just realised that this isn’t actually hard to get right.

Patch attached. I think this is a better solution than the last one.

Disabling screen updates just stops them being flushed to the screen,
when they’re enabled all the updates happen at once (including the
window manager’s frame resize). I guess it’s like drawing to an
off‐screen buffer then swapping.
-- 
Alan Third

Attachment: 0001-Fix-frame-resize-flicker-on-macOS-bug-30699.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]