aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-08-17 10:23:29 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-08-18 10:39:38 +1000
commit8af4e2e3e67e4e28e9ffad162984c0cc1414d771 (patch)
treee00c1f301e0f4bfc7c2dbbcb1df12525bf476d07 /sway/tree
parent9ee89f11c41e723cad8bfb48e1e9b0e743283018 (diff)
downloadsway-8af4e2e3e67e4e28e9ffad162984c0cc1414d771.tar.xz
Handle xwayland views sending new sizes in their commits
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 1dc4be4b..b3368a2e 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -1089,6 +1089,7 @@ void container_set_geometry_from_floating_view(struct sway_container *con) {
con->y = view->y - top;
con->width = view->width + border_width * 2;
con->height = top + view->height + border_width;
+ container_set_dirty(con);
}
bool container_is_floating(struct sway_container *container) {