summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2025-02-10 10:36:38 +0100
committerMartin Rudalics <rudalics@gmx.at>2025-02-10 10:36:38 +0100
commit4d1ceac9f9332f74ac2ab300eb2a629ea742b1dc (patch)
tree2dc013150344d3b846d4d902387090ea166a7b73 /lisp/emacs-lisp/byte-run.el
parent302274b18625b04d1f52fe4c1e52dbcd2cd5124b (diff)
downloademacs-4d1ceac9f9332f74ac2ab300eb2a629ea742b1dc.tar.gz
emacs-4d1ceac9f9332f74ac2ab300eb2a629ea742b1dc.tar.bz2
emacs-4d1ceac9f9332f74ac2ab300eb2a629ea742b1dc.zip
Fix handling of visibility on tty frames (Bug#76031)
* src/frame.h (FRAME_REDISPLAY_P): Remove. Use the new function frame_redisplay_p instead. Extern frame_redisplay_p. * src/frame.c (frame_redisplay_p): New function to replace FRAME_REDISPLAY_P macro. (make_terminal_frame): Don't tinker with frame visibility and don't make the new frame the terminal's top frame. (do_switch_frame): Make sure frame switched to and any of its ancestors are visible. Don't reset the visibility of other frames. (other_frames): Do not assume tty frames are by default visible. (Fmake_frame_invisible): When making the selected tty frame invisible, explicitly select the next visible frame. * src/dispnew.c (Fredraw_display): Use frame_redisplay_p instead of FRAME_REDISPLAY_P. * 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 instead of FRAME_REDISPLAY_P. * src/keyboard.c (tty_read_avail_input): When storing an event and the selected frame is a child frame whose root is its terminal's top frame, set the frame_or_window slot to the child frame since otherwise the next switch frame event will select the top frame instead.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions