diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-26 09:04:43 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | baf78ccda28b2a8992ba1ae3739d166167c9ee5f (patch) | |
| tree | e5a8b704a3f53ecf1667c249c520642fc76bfead | |
| parent | 31f0e66f450086dac57d5dcf4a0eebe5109aa5a7 (diff) | |
| download | niri-baf78ccda28b2a8992ba1ae3739d166167c9ee5f.tar.gz niri-baf78ccda28b2a8992ba1ae3739d166167c9ee5f.tar.bz2 niri-baf78ccda28b2a8992ba1ae3739d166167c9ee5f.zip | |
floating: Remove TODO on tile removing width
| -rw-r--r-- | src/layout/floating.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/layout/floating.rs b/src/layout/floating.rs index 94831228..2793a991 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -507,10 +507,9 @@ impl<W: LayoutElement> FloatingSpace<W> { // Store the floating position. tile.floating_pos = Some(data.pos); - let width = ColumnWidth::Fixed(tile.window_size().w); + let width = ColumnWidth::Fixed(tile.window_expected_or_current_size().w); RemovedTile { tile, - // TODO width, is_full_width: false, is_floating: true, |
