From 9a9d9116be4109f733a3309d7f9a7c9edd8db4ae Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 6 Jul 2018 19:33:10 +0100 Subject: Make view_update_* update live props as well --- sway/desktop/xwayland.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sway/desktop') diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index ace290ef..b2874cfe 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c @@ -283,9 +283,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { if (view->swayc->instructions->length) { transaction_notify_view_ready_by_size(view, surface_state->width, surface_state->height); - } - - if (container_is_floating(view->swayc)) { + } else if (container_is_floating(view->swayc)) { view_update_size(view, surface_state->width, surface_state->height); } -- cgit v1.2.3