From 7bc761306ed565e575226286045225b09fb08e8b Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 30 Aug 2025 18:07:14 +0200 Subject: [PATCH] Cursor: clear pointer focus on hide This line seems to have been removed by accident while fixing a different unrelated bug. Fixes: f482b9ddaa203b39 --- river/Cursor.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/river/Cursor.zig b/river/Cursor.zig index 0c470c5..2e29e2d 100644 --- a/river/Cursor.zig +++ b/river/Cursor.zig @@ -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", .{}); };