diff options
author | Martin Rudalics <rudalics@gmx.at> | 2025-03-17 09:50:19 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2025-03-17 09:50:19 +0100 |
commit | 86be9431ae88126387ed8402cb4953963ebba6f8 (patch) | |
tree | 7bc2a0c3f47bf9189a2d4c9b626a992bf24608bd /lisp/emacs-lisp/generate-lisp-file.el | |
parent | 7e71b0a2c938623872ec7404d81339c8ff51b012 (diff) | |
download | emacs-86be9431ae88126387ed8402cb4953963ebba6f8.tar.gz emacs-86be9431ae88126387ed8402cb4953963ebba6f8.tar.bz2 emacs-86be9431ae88126387ed8402cb4953963ebba6f8.zip |
Implement dragging and resizing of tty child frames
* lisp/faces.el (face-spec-recalc): Don't set
scroll-bar-foreground and scroll-bar-background parameters on
ttys.
* lisp/mouse.el (mouse-drag-frame-resize)
(mouse-drag-frame-move): On ttys call
'mouse-position-in-root-frame' to get position of child frame to
resize or drag.
* lisp/xt-mouse.el (xterm-mouse-event): Handle events on
child frame decorations as if they happened on the internal border
to find out whether a user wants to drag or resize a child frame.
* src/frame.c (frame_internal_border_part): Define for ttys too.
(Fmouse_position_in_root_frame): New function.
* src/frame.h (internal_border_part): Define for ttys too.
* src/keyboard.c (internal_border_parts): Define for ttys too.
(frame_border_side): New enum.
(make_lispy_position): Handle events on tty child frames.
(Fposn_at_x_y): Accept -1 for Y so we can handle a position on
the top decoration of a tty child frame.
* src/term.c (tty_frame_at): Handle case where X and Y denote a
position on a tty child frame's decoration.
* src/window.c (Fwindow_at): Handle case where X and Y denote a
position on the decoration of a tty child frame which we pretend
as belonging to that child frame (and not to its root).
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions