summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-18 09:20:05 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-18 09:20:05 +0800
commit356618ca6a649979256552de8f2fa2a5ab6a0161 (patch)
treea0ee5919fb213747dbf6c0f4c691758bfbec715d /src/xterm.h
parent15df17964df385dbec2119d52fef8e5b368ee99d (diff)
downloademacs-356618ca6a649979256552de8f2fa2a5ab6a0161.tar.gz
Handle virtual modifiers in the DND scrolling code
* lisp/x-dnd.el (x-dnd-modifier-mask): Handle virtual modifiers. * src/xfns.c (Fx_get_modifier_masks): New function. (syms_of_xfns): Define new subr. * src/xterm.c (x_get_keyboard_modifiers): New function. * src/xterm.h: Update prototypes.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 6afd08eab2b..b9e7b094e31 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1645,6 +1645,7 @@ extern bool x_defined_color (struct frame *, const char *, Emacs_Color *,
bool, bool);
extern void x_preserve_selections (struct x_display_info *, Lisp_Object,
Lisp_Object);
+extern Lisp_Object x_get_keyboard_modifiers (struct x_display_info *);
#ifdef HAVE_X_I18N
extern void free_frame_xic (struct frame *);
# if defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT