diff --git a/src/x11_init.c b/src/x11_init.c index 944791995..1f27f8136 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -903,7 +903,7 @@ static void initPenTablet(Display *display) int c; _glfw.x11.xi.stylus_deviceid = dev->deviceid; - + for (c = 0; c < dev->num_classes; c++) { if (dev->classes[c]->type == XIValuatorClass)