1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00

Prevent GDK from handling emulated button events

* src/xterm.c (handle_one_xevent): Drop emulated button events.
This commit is contained in:
Po Lu 2021-12-15 10:34:51 +08:00
parent 861eee4241
commit aab2477516

View file

@ -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);