diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-10 16:49:52 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-04-10 16:49:52 +0200 |
| commit | bd91bacee9bf7f329d1e8ccdb4121d5f65d03748 (patch) | |
| tree | 9688dc858c1b180c8729803b121a6ce6beca342c /src/view.zig | |
| parent | 86c486bf2dd589f67160b56aef4d4aae66005f77 (diff) | |
| download | river-bd91bacee9bf7f329d1e8ccdb4121d5f65d03748.tar.gz river-bd91bacee9bf7f329d1e8ccdb4121d5f65d03748.tar.xz | |
Implement initial layer shell support
exclusive zones and popups are still TODO
Diffstat (limited to 'src/view.zig')
| -rw-r--r-- | src/view.zig | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/view.zig b/src/view.zig index 71a00f2..b8368da 100644 --- a/src/view.zig +++ b/src/view.zig @@ -1,6 +1,7 @@ const std = @import("std"); const c = @import("c.zig"); +const Box = @import("box.zig").Box; const Root = @import("root.zig").Root; const ViewStack = @import("view_stack.zig").ViewStack; @@ -12,13 +13,6 @@ pub const View = struct { mapped: bool, - pub const Box = struct { - x: i32, - y: i32, - width: u32, - height: u32, - }; - current_box: Box, pending_box: ?Box, |
