aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 0669a485..b2874cfe 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -283,7 +283,10 @@ static void handle_commit(struct wl_listener *listener, void *data) {
283 if (view->swayc->instructions->length) { 283 if (view->swayc->instructions->length) {
284 transaction_notify_view_ready_by_size(view, 284 transaction_notify_view_ready_by_size(view,
285 surface_state->width, surface_state->height); 285 surface_state->width, surface_state->height);
286 } else if (container_is_floating(view->swayc)) {
287 view_update_size(view, surface_state->width, surface_state->height);
286 } 288 }
289
287 view_damage_from(view); 290 view_damage_from(view);
288} 291}
289 292