From 1f4a0828cc3fb93914d2ac12bb93013864730bd9 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 7 Apr 2022 10:20:47 +0800 Subject: [PATCH] ; * etc/PROBLEMS: Explain how to get dropping text on xterm to work. --- etc/PROBLEMS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 4e4ec6d353d..25022cad463 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -1786,6 +1786,21 @@ remote X server, try this: (setq mouse-highlight nil) +*** Dropping text on xterm doesn't work. + +Emacs sends sythetic button events to legacy clients such as xterm +that do not support either the XDND or Motif drag-and-drop protocols +in order to "paste" the text that was dropped. Unfortunately, xterm +is configured to ignore these events by default. Add the following to +your X defaults file to avoid the problem: + + XTerm.*.allowSendEvents: True + +Note that this can in theory pose a security risk, but in pratice +modern X servers have so many other ways to send input to clients +without signifying that the event is synthesized that it does not +matter. + * Runtime problems on character terminals ** The meta key does not work on xterm. -- 2.39.5