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:
parent
861eee4241
commit
aab2477516
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue