]> git.eshelyaron.com Git - emacs.git/commit
Fix frame resize flicker on macOS (bug#30699)
authorAlan Third <alan@idiocy.org>
Mon, 19 Mar 2018 15:04:40 +0000 (15:04 +0000)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:52 +0000 (14:17 +0800)
commit0f8f94d55aba2b85efc304686b6374f28e33b68a
treea4b510b79f055c403b1637a2fa4c4e4e5d529356
parent367ff818b4595e6ca42436b6f0d73eb909a4570b
Fix frame resize flicker on macOS (bug#30699)

* src/nsterm.h (ns_enable_screen_updates): New function.
* src/nsterm.m (ns_enable_screen_updates):
(ns_disable_screen_updates): New functions.
(disable_screen_updates_count): Count of number of times we've called
NSDisableScreenUpdates.
(x_set_window_size): Disable screen updates when not in a live resize
loop.
* src/xdisp.c (redisplay_internal): Reenable screen updates when
redisplay doesn't complete due to a popup.
(unwind_redisplay): Reenable screen updates.
src/nsterm.h
src/nsterm.m
src/xdisp.c