mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
resize windows when the monitor state changes
this may need more work later but for now this makes using mez in another compositor smoother
This commit is contained in:
parent
3c65fd8339
commit
0bb8c83300
2 changed files with 4 additions and 0 deletions
|
|
@ -282,6 +282,8 @@ fn handleRequestState(
|
|||
if (!output.wlr_output.commitState(event.state)) {
|
||||
std.log.warn("failed to set output state {}", .{event.state});
|
||||
}
|
||||
|
||||
server.events.exec("OutputStateChange", .{});
|
||||
}
|
||||
|
||||
fn handleFrame(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue