diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-28 10:28:52 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | 60854e180e692de3ec4acd505936e34a8640f1f6 (patch) | |
| tree | d184aa94d87c4bddfe3d5766b915564c7bcf4689 /niri-ipc/src | |
| parent | 5b4750a009a9ce1d3c98045c18509b1157e5519b (diff) | |
| download | niri-60854e180e692de3ec4acd505936e34a8640f1f6.tar.gz niri-60854e180e692de3ec4acd505936e34a8640f1f6.tar.bz2 niri-60854e180e692de3ec4acd505936e34a8640f1f6.zip | |
Add is_floating to Window IPC
Diffstat (limited to 'niri-ipc/src')
| -rw-r--r-- | niri-ipc/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs index fea7543f..1d596941 100644 --- a/niri-ipc/src/lib.rs +++ b/niri-ipc/src/lib.rs @@ -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. |
