aboutsummaryrefslogtreecommitdiff
path: root/src/handlers/xdg_shell.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-12-26 09:37:38 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-12-30 20:12:37 +0300
commitdaaee43be387d75c62c7ba63d33b0b8f9ae192c8 (patch)
treed44840951d79e255bcc95300933081b8bb0bd40e /src/handlers/xdg_shell.rs
parent0d71cb93aff0c639837cec51938a2450f8945bd7 (diff)
downloadniri-daaee43be387d75c62c7ba63d33b0b8f9ae192c8.tar.gz
niri-daaee43be387d75c62c7ba63d33b0b8f9ae192c8.tar.bz2
niri-daaee43be387d75c62c7ba63d33b0b8f9ae192c8.zip
layout: Refactor window opening targets
Diffstat (limited to 'src/handlers/xdg_shell.rs')
-rw-r--r--src/handlers/xdg_shell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/xdg_shell.rs b/src/handlers/xdg_shell.rs
index 5cb515ce..a3559542 100644
--- a/src/handlers/xdg_shell.rs
+++ b/src/handlers/xdg_shell.rs
@@ -859,7 +859,7 @@ impl State {
});
}
- width = ws.resolve_default_width(rules.default_width);
+ width = ws.resolve_default_width(rules.default_width, is_floating);
let configure_width = if is_full_width {
Some(ColumnWidth::Proportion(1.))