From 1602b34f4fe8df2ca2a9b35e23a923d0dbc6fda7 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sun, 5 Mar 2023 13:37:57 +0100 Subject: [PATCH] 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.