summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1f377f838b3..646985bdc20 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10234,7 +10234,10 @@ handle_one_xevent (struct x_display_info *dpyinfo,
&& xev->detail >= 4
&& xev->detail <= 8
&& xev->flags & XIPointerEmulated)
- goto XI_OTHER;
+ {
+ *finish = X_EVENT_DROP;
+ goto XI_OTHER;
+ }
#endif
device = xi_device_from_id (dpyinfo, xev->deviceid);