aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 52715892703..af0c5c0bfde 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -11167,6 +11167,13 @@ handle_one_xevent (struct x_display_info *dpyinfo,
11167 case XI_PropertyEvent: 11167 case XI_PropertyEvent:
11168 case XI_HierarchyChanged: 11168 case XI_HierarchyChanged:
11169 case XI_DeviceChanged: 11169 case XI_DeviceChanged:
11170
11171#ifdef XISlaveSwitch
11172 if (xi_event->evtype == XI_DeviceChanged
11173 && (((XIDeviceChangedEvent *) xi_event)->reason
11174 == XISlaveSwitch))
11175 goto XI_OTHER;
11176#endif
11170 x_init_master_valuators (dpyinfo); 11177 x_init_master_valuators (dpyinfo);
11171 goto XI_OTHER; 11178 goto XI_OTHER;
11172#ifdef XI_TouchBegin 11179#ifdef XI_TouchBegin