diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-07 19:40:19 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-06-07 19:40:19 +0200 |
| commit | 7b1e07d3d524f5a739b126f5de92ad5b2ee1e4c0 (patch) | |
| tree | c152d4e0ae98a5e5abb6e71f9c73a5c309ea8e19 | |
| parent | b8cc4cc22c6552a485519cc2468b2b1892aa3ffd (diff) | |
| download | river-7b1e07d3d524f5a739b126f5de92ad5b2ee1e4c0.tar.gz river-7b1e07d3d524f5a739b126f5de92ad5b2ee1e4c0.tar.xz | |
code: remove dead code
| -rw-r--r-- | river/Root.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/river/Root.zig b/river/Root.zig index d4a22b1..11ec344 100644 --- a/river/Root.zig +++ b/river/Root.zig @@ -109,14 +109,6 @@ pub fn addOutput(self: *Self, wlr_output: *c.wlr_output) void { } } -/// Clear the current focus. -pub fn clearFocus(self: *Self) void { - if (self.focused_view) |view| { - _ = c.wlr_xdg_toplevel_set_activated(view.wlr_xdg_surface, false); - } - self.focused_view = null; -} - /// Arrange all views on all outputs and then start a transaction. pub fn arrange(self: *Self) void { var it = self.outputs.first; |
