Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
Seat: use the grab aware API to clear focus
This looks to be a typo made way back in the early days of river.
river/Seat.zig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/river/Seat.zig b/river/Seat.zig
index 21c40d5..d00ea12 100644
--- a/river/Seat.zig
+++ b/river/Seat.zig
@@ -263,7 +263,7 @@ pub fn keyboardEnterOrLeave(self: *Self, target_surface: ?*wlr.Surface) void {
// may cause the cursor to be warped.
self.cursor.may_need_warp = true;
} else {
- self.wlr_seat.keyboardClearFocus();
+ self.wlr_seat.keyboardNotifyClearFocus();
// Depending on configuration and cursor position, changing keyboard focus
// may cause the cursor to be warped.