From a10cd009fa1c27fcf5fef3ef9cf2f77f3416b050 Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Sun, 19 Apr 2020 19:51:10 -0400 Subject: [PATCH] input/cursor: fix jerky resizing of non-tablet_v2 surfaces This fixes resizing containers being very jerky under pointer emulation. Refs #5232. --- sway/input/cursor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 696609453..6105ac865 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -524,6 +524,7 @@ static void handle_tablet_tool_position(struct sway_cursor *cursor, if (!surface || !wlr_surface_accepts_tablet_v2(tablet->tablet_v2, surface)) { wlr_tablet_v2_tablet_tool_notify_proximity_out(sway_tool->tablet_v2_tool); cursor_motion(cursor, time_msec, input_device->wlr_device, dx, dy, dx, dy); + transaction_commit_dirty(); return; }