aboutsummaryrefslogtreecommitdiff
path: root/src/cursor.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-13 21:00:18 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-13 21:00:18 +0200
commit8bfca48991ce85f065eea4d2456908eebb9529bc (patch)
tree748e37cb092e3ccec363b2e945a1b01a0c33ec06 /src/cursor.zig
parent3cb52c4898cb387d1e9b185479e4187f2a1a711a (diff)
downloadriver-8bfca48991ce85f065eea4d2456908eebb9529bc.tar.gz
river-8bfca48991ce85f065eea4d2456908eebb9529bc.tar.xz
Implement the focus stack
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);
}
}
}