mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
Add is_floating to Window IPC
This commit is contained in:
@@ -758,6 +758,10 @@ pub struct Window {
|
||||
///
|
||||
/// There can be either one focused window or zero (e.g. when a layer-shell surface has focus).
|
||||
pub is_focused: bool,
|
||||
/// Whether this window is currently floating.
|
||||
///
|
||||
/// If the window isn't floating then it is in the tiling layout.
|
||||
pub is_floating: bool,
|
||||
}
|
||||
|
||||
/// Output configuration change result.
|
||||
|
||||
Reference in New Issue
Block a user