[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 30cf1f34c5: Avoid extra sync and atom name query on ending Motif
From: |
Po Lu |
Subject: |
master 30cf1f34c5: Avoid extra sync and atom name query on ending Motif DND |
Date: |
Sat, 9 Jul 2022 08:20:47 -0400 (EDT) |
branch: master
commit 30cf1f34c583d6ed16bdc5b9578370f30c95fe1b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Avoid extra sync and atom name query on ending Motif DND
* src/xterm.c (handle_one_xevent): Use `x_dnd_action_symbol' to
set the Motif action instead.
---
src/xterm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/xterm.c b/src/xterm.c
index d9485980fe..e10edbad3a 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -16471,16 +16471,16 @@ handle_one_xevent (struct x_display_info *dpyinfo,
switch (operation)
{
case XM_DRAG_MOVE:
- x_dnd_action = dpyinfo->Xatom_XdndActionMove;
+ x_dnd_action_symbol = QXdndActionMove;
break;
case XM_DRAG_COPY:
- x_dnd_action = dpyinfo->Xatom_XdndActionCopy;
+ x_dnd_action_symbol = QXdndActionCopy;
break;
/* This means XM_DRAG_OPERATION_IS_LINK (operation). */
default:
- x_dnd_action = dpyinfo->Xatom_XdndActionLink;
+ x_dnd_action_symbol = QXdndActionLink;
break;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 30cf1f34c5: Avoid extra sync and atom name query on ending Motif DND,
Po Lu <=