summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2020-04-06 09:46:24 +0200
committerMartin Rudalics <rudalics@gmx.at>2020-04-06 09:46:24 +0200
commit981cea9b624f61de3bc84226d19303ff3f8cbd8b (patch)
treeebdf5604f5ae159e200a8423a7f293f46bd94dd5 /lisp/emacs-lisp/lisp.el
parent24c3fa96077a5fec6d8ba65d7c49ff1a731be32f (diff)
downloademacs-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/lisp.el')
0 files changed, 0 insertions, 0 deletions