projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff4123
)
Fix processing of DND grab on non-XI2 builds
author
Po Lu
<luangruo@yahoo.com>
Sun, 27 Mar 2022 05:01:18 +0000
(13:01 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 27 Mar 2022 05:01:53 +0000
(13:01 +0800)
* src/xterm.c (handle_one_xevent): Process DND grab flag
correctly.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index a99089302969a64a1a8083399560b247b10259cc..099b992d0831ab064c654f992986ee6ca4bfd046 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-13443,7
+13443,7
@@
handle_one_xevent (struct x_display_info *dpyinfo,
dnd_grab = true;
}
- if (dnd_grab && event->xbutton.type == ButtonRelease)
+ if (
!
dnd_grab && event->xbutton.type == ButtonRelease)
{
x_dnd_end_window = x_dnd_last_seen_window;
x_dnd_in_progress = false;