summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/loaddefs-gen.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-06-19 11:35:12 +0800
committerPo Lu <luangruo@yahoo.com>2022-06-19 11:35:12 +0800
commitfd853c71a958e3156014378fdd145e6e4d8c2717 (patch)
tree207d1a23ea78a66fd7ff36323b69bfbebd1eda5e /lisp/emacs-lisp/loaddefs-gen.el
parent3285901e9a87f083bf88ac732a3ed2eae6488fec (diff)
downloademacs-fd853c71a958e3156014378fdd145e6e4d8c2717.tar.gz
emacs-fd853c71a958e3156014378fdd145e6e4d8c2717.tar.bz2
emacs-fd853c71a958e3156014378fdd145e6e4d8c2717.zip
Cache the Motif drag window to avoid fetching it every time
* src/xterm.c (xm_get_drag_window_1): New function. (xm_get_drag_window): Cache the window. If it already exists, just return it. (xm_setup_dnd_targets): If a BadWindow error occurs, re-create the Motif drag window. * src/xterm.h (struct x_display_info): New field `motif_drag_window'.
Diffstat (limited to 'lisp/emacs-lisp/loaddefs-gen.el')
0 files changed, 0 insertions, 0 deletions