aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2023-03-05 13:37:57 +0100
committerIsaac Freund <mail@isaacfreund.com>2023-03-05 13:37:57 +0100
commit1602b34f4fe8df2ca2a9b35e23a923d0dbc6fda7 (patch)
tree7e2ce8efa6e193e59298b209f1f3c31cd4ec1538
parentdb726718efb9e4ef7c441efeb4aafe967aeff1b5 (diff)
downloadriver-1602b34f4fe8df2ca2a9b35e23a923d0dbc6fda7.tar.gz
river-1602b34f4fe8df2ca2a9b35e23a923d0dbc6fda7.tar.xz
Seat: use the grab aware API to clear focus
This looks to be a typo made way back in the early days of river.
-rw-r--r--river/Seat.zig2
1 files changed, 1 insertions, 1 deletions
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.