diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-17 19:53:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 19:53:12 -0700 |
commit | ca695482ec43fa247fc565161768584ef9534fea (patch) | |
tree | 0ef66f10e1bb38fd3108680ccfa3830b06e61a93 | |
parent | Merge pull request #2294 from RedSoxFan/fix-swaylock-args (diff) | |
parent | Update cursor on focus change (diff) | |
download | sway-ca695482ec43fa247fc565161768584ef9534fea.tar.gz sway-ca695482ec43fa247fc565161768584ef9534fea.tar.zst sway-ca695482ec43fa247fc565161768584ef9534fea.zip |
Merge pull request #2292 from emersion/update-cursor-on-focus
Update cursor on focus change
-rw-r--r-- | sway/input/seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index 12b1fab5..8ed4a3fe 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -738,7 +738,7 @@ void seat_set_focus_warp(struct sway_seat *seat, | |||
738 | } | 738 | } |
739 | } | 739 | } |
740 | 740 | ||
741 | if (last_workspace && last_workspace != new_workspace) { | 741 | if (last_focus != NULL) { |
742 | cursor_send_pointer_motion(seat->cursor, 0, true); | 742 | cursor_send_pointer_motion(seat->cursor, 0, true); |
743 | } | 743 | } |
744 | 744 | ||