Skip to content

Commit

Permalink
Fix cursor image not resetting after leaving view
Browse files Browse the repository at this point in the history
  • Loading branch information
serebit committed Nov 4, 2023
1 parent dd6713b commit 95943a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/input/cursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ void Cursor::process_motion(const uint32_t time) {
* the surface has already has pointer focus or if the client is already
* aware of the coordinates passed.
*/
current_image = "";
wlr_seat_pointer_notify_enter(seat.seat, surface, sx, sy);
wlr_seat_pointer_notify_motion(seat.seat, time, sx, sy);
} else {
Expand Down

0 comments on commit 95943a1

Please sign in to comment.