Seat: use the grab aware API to clear focus

This looks to be a typo made way back in the early days of river.
This commit is contained in:
Isaac Freund 2023-03-05 13:37:57 +01:00
parent db726718ef
commit 1602b34f4f
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -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.