diff --git a/src/ext-protocol/tablet.h b/src/ext-protocol/tablet.h index beeed0b7..0bc25396 100644 --- a/src/ext-protocol/tablet.h +++ b/src/ext-protocol/tablet.h @@ -259,6 +259,9 @@ void tablettoolmotion(struct TabletTool *tool, bool change_x, bool change_y, motionnotify(0, NULL, 0, 0, 0, 0); + if (config.sloppyfocus) + selmon = xytomon(cursor->x, cursor->y); + xytonode(cursor->x, cursor->y, &surface, &c, NULL, &sx, &sy); if (cursor_mode == CurPressed && !seat->drag && surface != seat->pointer_state.focused_surface &&