Apply Rect to Buffer.borderedRectangle
Also set it to have all fields with a default of 0 since we use that quite a bit and it saves writing it.
This commit is contained in:
parent
515e94320b
commit
a37f72f0d7
5 changed files with 21 additions and 42 deletions
|
|
@ -9,12 +9,7 @@ context: *Context,
|
|||
river_window_v1: *river.WindowV1,
|
||||
river_node_v1: *river.NodeV1,
|
||||
|
||||
rect: utils.Rect = .{
|
||||
.width = 0,
|
||||
.height = 0,
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
},
|
||||
rect: utils.Rect = .{},
|
||||
|
||||
fullscreen: bool = false,
|
||||
maximized: bool = false,
|
||||
|
|
@ -23,12 +18,7 @@ tags: u32 = 0x0001,
|
|||
output: ?*Output,
|
||||
|
||||
floating: bool = false,
|
||||
floating_rect: utils.Rect = .{
|
||||
.width = 0,
|
||||
.height = 0,
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
},
|
||||
floating_rect: utils.Rect = .{},
|
||||
|
||||
initialized: bool = false,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue