Prevent GDK from handling emulated button events
* src/xterm.c (handle_one_xevent): Drop emulated button events.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user