aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2025-02-12 15:49:12 +0800
committerPo Lu2025-02-12 15:51:39 +0800
commitfa4260594fd2aae1c7d3e829b3cb15e344bc25ff (patch)
tree34f13502c6a5272f1e15dfb0dfe4a21356d8506b /src
parentaade1b707c6b4932ed023f387d49324c6a7123eb (diff)
downloademacs-fa4260594fd2aae1c7d3e829b3cb15e344bc25ff.tar.gz
emacs-fa4260594fd2aae1c7d3e829b3cb15e344bc25ff.zip
X11 drag-and-drop corrections
* lisp/x-dnd.el (x-dnd-handle-drag-n-drop-event): Take cdddr of client-message, skipping the selection information. (x-dnd-do-direct-save): Do not erase the local copy of a remote file if it was not in fact copied on behalf of the recipient. (x-dnd-handle-xds-drop): Return proper action. * src/xterm.c (x_term_init): Remove unused variable on non-GTK builds.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 0a877e9edf9..c3047c4098b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -30591,7 +30591,9 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
30591 30591
30592 block_input (); 30592 block_input ();
30593 30593
30594#ifdef USE_GTK
30594 bool was_initialized = x_initialized; 30595 bool was_initialized = x_initialized;
30596#endif /* USE_GTK */
30595 if (!x_initialized) 30597 if (!x_initialized)
30596 { 30598 {
30597 x_initialize (); 30599 x_initialize ();