]> git.eshelyaron.com Git - emacs.git/commit
Fix more calls to XQueryPointer for MPX
authorPo Lu <luangruo@yahoo.com>
Fri, 19 Aug 2022 02:06:29 +0000 (10:06 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 19 Aug 2022 02:06:29 +0000 (10:06 +0800)
commitb90192b50e59ff987ef2102c1538e94b7864b1fd
tree812785403ef603c511d5a389183aa15483df88ae
parentf1f2bbbc0880f1033feff69fa786d551875ec5e6
Fix more calls to XQueryPointer for MPX

* src/xterm.c (x_dnd_begin_drag_and_drop): Set DND devices to -1
if XI2 is not supported on the given display.
(x_query_pointer): Make wrapper around x_query_pointer_1.
(x_query_pointer_1): Split off most of x_query_pointer to this
function.  Allow a specific client pointer to be specified.
(x_dnd_update_tooltip_now, x_dnd_update_state): Use
x_query_pointer_1 with the right device instead of
XQueryPointer.
src/xterm.c