diff options
author | Martin Rudalics <rudalics@gmx.at> | 2020-04-06 09:46:24 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2020-04-06 09:46:24 +0200 |
commit | 981cea9b624f61de3bc84226d19303ff3f8cbd8b (patch) | |
tree | ebdf5604f5ae159e200a8423a7f293f46bd94dd5 /lisp/emacs-lisp/debug.el | |
parent | 24c3fa96077a5fec6d8ba65d7c49ff1a731be32f (diff) | |
download | emacs-981cea9b624f61de3bc84226d19303ff3f8cbd8b.tar.gz emacs-981cea9b624f61de3bc84226d19303ff3f8cbd8b.tar.bz2 emacs-981cea9b624f61de3bc84226d19303ff3f8cbd8b.zip |
Fix problems when dragging frames with the mouse
Re-implement 'mouse-drag-frame' via two new functions -
'mouse-drag-frame-resize' and 'mouse-drag-frame-move'. This is
needed because with some toolkits the notifications for frame
movement and resizing arrive asynchronously, breaking any
calculations using intermediate frame sizes and positions.
* lisp/mouse.el (mouse-drag-mode-line, mouse-drag-left-edge)
(mouse-drag-top-left-corner, mouse-drag-top-edge)
(mouse-drag-top-right-corner, mouse-drag-right-edge)
(mouse-drag-bottom-right-corner, mouse-drag-bottom-edge)
(mouse-drag-bottom-left-corner): Call 'mouse-drag-frame-resize'
instead of 'mouse-drag-frame'.
(mouse-drag-frame): Split into two new functions -
'mouse-drag-frame-move' and 'mouse-drag-frame-resize'.
(mouse-drag-frame-resize, mouse-drag-frame-move): New functions
to implement functionality of the removed 'mouse-drag-frame'.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions