diff options
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index e2fb4338..1e84e603 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -894,7 +894,7 @@ void container_set_geometry_from_content(struct sway_container *con) { | |||
894 | size_t border_width = 0; | 894 | size_t border_width = 0; |
895 | size_t top = 0; | 895 | size_t top = 0; |
896 | 896 | ||
897 | if (con->pending.border != B_CSD) { | 897 | if (con->pending.border != B_CSD && !con->pending.fullscreen_mode) { |
898 | border_width = con->pending.border_thickness * (con->pending.border != B_NONE); | 898 | border_width = con->pending.border_thickness * (con->pending.border != B_NONE); |
899 | top = con->pending.border == B_NORMAL ? | 899 | top = con->pending.border == B_NORMAL ? |
900 | container_titlebar_height() : border_width; | 900 | container_titlebar_height() : border_width; |