From e1fad994da9565b43c7fb139cb2fb7bf404cc320 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 2 Sep 2025 08:07:22 +0300 Subject: Implement maximize-to-edges (true Wayland maximize) --- niri-ipc/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'niri-ipc/src') diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index 5ce0c23d..080db620 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -713,6 +713,14 @@ pub enum Action { }, /// Toggle the maximized state of the focused column. MaximizeColumn {}, + /// Toggle the maximized-to-edges state of the focused window. + MaximizeWindowToEdges { + /// Id of the window to maximize. + /// + /// If `None`, uses the focused window. + #[cfg_attr(feature = "clap", arg(long))] + id: Option, + }, /// Change the width of the focused column. SetColumnWidth { /// How to change the width. -- cgit