diff options
author | Po Lu <luangruo@yahoo.com> | 2022-07-15 16:19:41 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-07-15 16:19:52 +0800 |
commit | 200938b95d1b73d03ce758e69a69d4fb198be4e8 (patch) | |
tree | 16d187bd8747d8bed5dd84c58cef71c7b2d35498 /test/lisp/emacs-lisp/bytecomp-resources | |
parent | ffe4a5dac0dbc9fd85064200ed7b46b4ab3b910a (diff) | |
download | emacs-200938b95d1b73d03ce758e69a69d4fb198be4e8.tar.gz emacs-200938b95d1b73d03ce758e69a69d4fb198be4e8.tar.bz2 emacs-200938b95d1b73d03ce758e69a69d4fb198be4e8.zip |
Fix generated drag-and-drop mouse rectangles
* lisp/x-dnd.el (x-dnd-get-drop-width-height): Handle window
width and height correctly. Remove unused parameter.
(x-dnd-after-move-frame): New function.
(move-frame-functions): Add new hook.
(x-dnd-compute-root-window-position): New function.
(x-dnd-get-drop-x-y): Use that instead of `left' and `top'
parameters, which include the title bar.
(x-dnd-handle-xdnd): Update accordingly.
* src/xfns.c (Fx_translate_coordinates): New function.
(syms_of_xfns): New defsym.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources')
0 files changed, 0 insertions, 0 deletions