Implement initial layer shell support

exclusive zones and popups are still TODO
This commit is contained in:
Isaac Freund
2020-04-10 16:49:52 +02:00
parent 86c486bf2d
commit bd91bacee9
7 changed files with 344 additions and 14 deletions

View File

@ -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,