feat(wm): add per-monitor work area offsets

This commit introduces per-monitor work area offsets which will always
take precedence over global work area offsets.
This commit is contained in:
LGUG2Z
2022-11-12 18:23:22 -08:00
parent a48715f15a
commit b010215318
7 changed files with 93 additions and 5 deletions

View File

@@ -105,6 +105,7 @@ pub enum SocketMessage {
ActiveWindowBorderColour(WindowKind, u32, u32, u32),
InvisibleBorders(Rect),
WorkAreaOffset(Rect),
MonitorWorkAreaOffset(usize, Rect),
ResizeDelta(i32),
WorkspaceRule(ApplicationIdentifier, String, usize, usize),
FloatRule(ApplicationIdentifier, String),