Cursor: clear pointer focus on hide

This line seems to have been removed by accident while fixing a
different unrelated bug.

Fixes: f482b9ddaa
This commit is contained in:
Isaac Freund
2025-08-30 18:07:14 +02:00
parent 88a8c45ac0
commit 7bc761306e

View File

@ -822,6 +822,7 @@ pub fn hide(cursor: *Cursor) void {
cursor.hidden = true;
cursor.wlr_cursor.unsetImage();
cursor.seat.wlr_seat.pointerNotifyClearFocus();
cursor.hide_cursor_timer.timerUpdate(0) catch {
log.err("failed to update cursor hide timeout", .{});
};