aboutsummaryrefslogtreecommitdiff
path: root/src/cursor.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/cursor.zig')
-rw-r--r--src/cursor.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cursor.zig b/src/cursor.zig
index af41c77..839276a 100644
--- a/src/cursor.zig
+++ b/src/cursor.zig
@@ -273,7 +273,7 @@ pub const Cursor = struct {
} else {
// Focus that client if the button was _pressed_
if (view) |v| {
- v.focus(surface.?);
+ cursor.seat.focus(v);
}
}
}