aboutsummaryrefslogtreecommitdiff
path: root/src/view.zig
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-13 19:25:37 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-13 19:25:37 +0200
commit3cb52c4898cb387d1e9b185479e4187f2a1a711a (patch)
treeb9713e85de0dc67862639397c01484623e4ca5f6 /src/view.zig
parentb822084f39b568d7a1b65b0df7e77ec1dbb3c0bb (diff)
downloadriver-3cb52c4898cb387d1e9b185479e4187f2a1a711a.tar.gz
river-3cb52c4898cb387d1e9b185479e4187f2a1a711a.tar.xz
Parially refactor commands to take a *Seat
Diffstat (limited to 'src/view.zig')
-rw-r--r--src/view.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view.zig b/src/view.zig
index 191bcf8..aa35887 100644
--- a/src/view.zig
+++ b/src/view.zig
@@ -145,7 +145,8 @@ pub const View = struct {
// If the view being unmapped is focused
if (current_focus == view) {
// Focus the previous view. This clears the focus if there are no visible views.
- root.focusPrevView();
+ // FIXME: must be fixed in next commit adding focus stack
+ //root.focusPrevView();
}
}