aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index baaa82fd..d75e34a5 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -715,7 +715,7 @@ void container_set_geometry_from_floating_view(struct sway_container *con) {
715 size_t border_width = 0; 715 size_t border_width = 0;
716 size_t top = 0; 716 size_t top = 0;
717 717
718 if (!view->using_csd) { 718 if (view->border != B_CSD) {
719 border_width = view->border_thickness * (view->border != B_NONE); 719 border_width = view->border_thickness * (view->border != B_NONE);
720 top = view->border == B_NORMAL ? 720 top = view->border == B_NORMAL ?
721 container_titlebar_height() : border_width; 721 container_titlebar_height() : border_width;