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:
parent
db726718ef
commit
1602b34f4f
@ -263,7 +263,7 @@ pub fn keyboardEnterOrLeave(self: *Self, target_surface: ?*wlr.Surface) void {
|
|||||||
// may cause the cursor to be warped.
|
// may cause the cursor to be warped.
|
||||||
self.cursor.may_need_warp = true;
|
self.cursor.may_need_warp = true;
|
||||||
} else {
|
} else {
|
||||||
self.wlr_seat.keyboardClearFocus();
|
self.wlr_seat.keyboardNotifyClearFocus();
|
||||||
|
|
||||||
// Depending on configuration and cursor position, changing keyboard focus
|
// Depending on configuration and cursor position, changing keyboard focus
|
||||||
// may cause the cursor to be warped.
|
// may cause the cursor to be warped.
|
||||||
|
Loading…
Reference in New Issue
Block a user