diff --git a/src/xterm.c b/src/xterm.c index 36797bc0ab..88cd566cd3 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -20465,7 +20465,10 @@ handle_one_xevent (struct x_display_info *dpyinfo, device = xi_device_from_id (dpyinfo, xev->deviceid); if (!device) - goto XI_OTHER; + { + fprintf (stderr, "device not found, %d\n", xev->deviceid); + goto XI_OTHER; + } #ifdef HAVE_XINPUT2_2 if (xev->flags & XIPointerEmulated) -- 2.30.2