]> git.eshelyaron.com Git - emacs.git/commit
Redisplay "invisible" frames that are actually visible on modern X
authorPo Lu <luangruo@yahoo.com>
Mon, 26 Dec 2022 07:57:06 +0000 (15:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 26 Dec 2022 07:57:48 +0000 (15:57 +0800)
commitcc29fab3a66c59e77d0ff67c0f3e2e34ec80a03c
tree07d54371ad2a25bd0f01b0cfbfeffefb574f87cc
parent419ca81809c2eda9c9f102b7da820a6eb9685cc8
Redisplay "invisible" frames that are actually visible on modern X

* etc/NEWS: Document that "invisible" frames are now redisplayed
if the compositing manager is still displaying it as part of a
thumbnail out of Emacs's control.

* src/dispnew.c (Fredraw_display): Use FRAME_REDISPLAY_P.
* src/frame.h (FRAME_REDISPLAY_P): New macro.

* src/xdisp.c (clear_garbaged_frames, echo_area_display)
(prepare_menu_bars, redisplay_internal, display_and_set_cursor)
(gui_clear_cursor): Use FRAME_REDISPLAY_P to determine whether
or not a frame should be redisplayed.
* src/xfns.c (Fx_create_frame): Set visibility state initially.
* src/xterm.c (handle_one_xevent): Likewise.
* src/xterm.h (struct x_output): New field `visibility_state'.
etc/NEWS
src/dispnew.c
src/frame.h
src/xdisp.c
src/xfns.c
src/xterm.c
src/xterm.h