]> git.eshelyaron.com Git - emacs.git/commit
Allow running some DND tests interactively
authorPo Lu <luangruo@yahoo.com>
Wed, 8 Jun 2022 12:33:42 +0000 (20:33 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 8 Jun 2022 12:34:13 +0000 (20:34 +0800)
commit0fd60451bc098b57bdcbddfa98cfa210a6b0ab78
tree87391cefa7f0bc64460c72a66be10b7e1c0fa24e
parentefe9940567da259d871432cfda4cdf94542ac98e
Allow running some DND tests interactively

* src/xselect.c (x_get_local_selection): Respect new variable.
(syms_of_xselect): New variable
`x-treat-local-requests-remotely'.

* test/lisp/dnd-tests.el (x-begin-drag, gui-set-selection):
Don't redefine these functions under X.
(dnd-tests-verify-selection-data): Use
`x-get-selection-internal' under X.
(dnd-tests-extract-selection-data): New function.
(dnd-tests-begin-text-drag): Update accordingly.
(dnd-tests-begin-file-drag, dnd-tests-begin-drag-files):
Temporarily skip these tests under X.
src/xselect.c
test/lisp/dnd-tests.el