aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/border.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-20 05:06:03 +0200
committerGitHub <noreply@github.com>2018-10-20 05:06:03 +0200
commit5b8257b88f703f48466f3b917f1ceaee7c457355 (patch)
treef0d00406e3cb449c2492d6cb8b35a1a57546eebd /sway/commands/border.c
parent3b8dd4958311f40701e352bf49b62ae850cdd2f9 (diff)
parent9ea71f292b2270f37cf7ca641b7bae628ef41ed7 (diff)
Merge pull request #2872 from RyanDwyer/cursor-rebase
Introduce cursor_rebase
Diffstat (limited to 'sway/commands/border.c')
-rw-r--r--sway/commands/border.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/border.c b/sway/commands/border.c
index 2eed27bd..a50f7a1c 100644
--- a/sway/commands/border.c
+++ b/sway/commands/border.c
@@ -96,7 +96,7 @@ struct cmd_results *cmd_border(int argc, char **argv) {
struct sway_seat *seat = input_manager_current_seat(input_manager);
if (seat->cursor) {
- cursor_send_pointer_motion(seat->cursor, 0, false);
+ cursor_rebase(seat->cursor);
}
return cmd_results_new(CMD_SUCCESS, NULL, NULL);