From c5fffd6e2c48aa7fb8b45b8bdcd972bbd8ce900b Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 29 Nov 2024 21:11:02 +0300 Subject: Initial WIP floating window implementation --- niri-ipc/src/lib.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'niri-ipc/src') diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index 3df0eb4f..6bbc00f2 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -430,6 +430,16 @@ pub enum Action { DebugToggleOpaqueRegions {}, /// Toggle visualization of output damage. DebugToggleDamage {}, + /// Move the focused window between the floating and the tiling layout. + ToggleWindowFloating { + /// Id of the window to move. + /// + /// If `None`, uses the focused window. + #[cfg_attr(feature = "clap", arg(long))] + id: Option, + }, + /// Toggles the focus between the floating and the tiling layout. + SwitchFocusBetweenFloatingAndTiling {}, } /// Change in window or column size. -- cgit