diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-13 21:00:18 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-13 21:00:18 +0200 |
| commit | 8bfca48991ce85f065eea4d2456908eebb9529bc (patch) | |
| tree | 748e37cb092e3ccec363b2e945a1b01a0c33ec06 /src/cursor.zig | |
| parent | 3cb52c4898cb387d1e9b185479e4187f2a1a711a (diff) | |
| download | river-8bfca48991ce85f065eea4d2456908eebb9529bc.tar.gz river-8bfca48991ce85f065eea4d2456908eebb9529bc.tar.xz | |
Implement the focus stack
Diffstat (limited to 'src/cursor.zig')
| -rw-r--r-- | src/cursor.zig | 2 |
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); } } } |
