aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/handlers/xdg_shell.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/handlers/xdg_shell.rs b/src/handlers/xdg_shell.rs
index a99b344f..bfc7e46d 100644
--- a/src/handlers/xdg_shell.rs
+++ b/src/handlers/xdg_shell.rs
@@ -91,15 +91,14 @@ impl XdgShellHandler for State {
}
fn maximize_request(&mut self, surface: ToplevelSurface) {
- // FIXME
-
// The protocol demands us to always reply with a configure,
// regardless of we fulfilled the request or not
+ self.niri.layout.toggle_full_width();
surface.send_configure();
}
fn unmaximize_request(&mut self, _surface: ToplevelSurface) {
- // FIXME
+ self.niri.layout.toggle_full_width();
}
fn fullscreen_request(