diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-27 11:20:03 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | a24a6e4e3c441389fd7731320f47e61e567e237f (patch) | |
| tree | 0f93350f38a83af27ccb5549191323dc56cf9b4e /src/layout/floating.rs | |
| parent | 6fba4c371e7868f8d581cf3d49d611cdbb590ad4 (diff) | |
| download | niri-a24a6e4e3c441389fd7731320f47e61e567e237f.tar.gz niri-a24a6e4e3c441389fd7731320f47e61e567e237f.tar.bz2 niri-a24a6e4e3c441389fd7731320f47e61e567e237f.zip | |
Implement is-floating window rule matcher
Diffstat (limited to 'src/layout/floating.rs')
| -rw-r--r-- | src/layout/floating.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/floating.rs b/src/layout/floating.rs index a04c9b94..b3647844 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -1029,6 +1029,7 @@ impl<W: LayoutElement> FloatingSpace<W> { let win = tile.window_mut(); win.set_active_in_column(true); + win.set_floating(true); let is_active = is_active && Some(win.id()) == active.as_ref(); win.set_activated(is_active); |
