aboutsummaryrefslogtreecommitdiff
path: root/src/layout/floating.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/floating.rs')
-rw-r--r--src/layout/floating.rs3
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,