aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc/src
diff options
context:
space:
mode:
Diffstat (limited to 'niri-ipc/src')
-rw-r--r--niri-ipc/src/lib.rs8
1 files changed, 8 insertions, 0 deletions
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<u64>,
+ },
/// Change the width of the focused column.
SetColumnWidth {
/// How to change the width.