aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r--sway/input/seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index cffceaae..25f454bd 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1173,7 +1173,7 @@ void seat_end_mouse_operation(struct sway_seat *seat) {
1173 seat->cursor->previous.x = seat->op_ref_lx; 1173 seat->cursor->previous.x = seat->op_ref_lx;
1174 seat->cursor->previous.y = seat->op_ref_ly; 1174 seat->cursor->previous.y = seat->op_ref_ly;
1175 if (seat->op_moved) { 1175 if (seat->op_moved) {
1176 cursor_send_pointer_motion(seat->cursor, 0, true); 1176 cursor_send_pointer_motion(seat->cursor, 0);
1177 } 1177 }
1178 } else { 1178 } else {
1179 cursor_set_image(seat->cursor, "left_ptr", NULL); 1179 cursor_set_image(seat->cursor, "left_ptr", NULL);
@@ -1207,5 +1207,5 @@ void seat_consider_warp_to_focus(struct sway_seat *seat) {
1207 } else { 1207 } else {
1208 cursor_warp_to_workspace(seat->cursor, focus->sway_workspace); 1208 cursor_warp_to_workspace(seat->cursor, focus->sway_workspace);
1209 } 1209 }
1210 cursor_send_pointer_motion(seat->cursor, 0, false); 1210 cursor_rebase(seat->cursor);
1211} 1211}