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
|
|
@ -17,20 +17,10 @@ name: ?[]const u8 = null,
|
|||
|
||||
// Output geometry
|
||||
scale: u31 = 1,
|
||||
geometry: Rect = .{
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.width = 0,
|
||||
.height = 0,
|
||||
},
|
||||
geometry: Rect = .{},
|
||||
|
||||
// Area left after layer shell surfaces take exclusive area
|
||||
usable_geometry: Rect = .{
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.width = 0,
|
||||
.height = 0,
|
||||
},
|
||||
usable_geometry: Rect = .{},
|
||||
|
||||
// Information for this Output's wallpaper
|
||||
wallpaper_render_scale: u31 = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue