aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorTudor Brindus <me@tbrindus.ca>2020-04-19 19:51:10 -0400
committerSimon Ser <contact@emersion.fr>2020-04-22 17:24:01 +0200
commitc23182fd7addf08e9aa6f34466aef070382cdc14 (patch)
treeedf5c2513ff60888571f08c87e84e716be8e136a /sway
parentd88460f716939ae3340794a7bf1ba653b51ddb14 (diff)
input/cursor: fix jerky resizing of non-tablet_v2 surfaces
This fixes resizing containers being very jerky under pointer emulation. Refs #5232.
Diffstat (limited to 'sway')
-rw-r--r--sway/input/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 02994752..186b4820 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;
}