diff options
author | emersion <contact@emersion.fr> | 2018-07-06 19:33:10 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-07-06 19:33:10 +0100 |
commit | 9a9d9116be4109f733a3309d7f9a7c9edd8db4ae (patch) | |
tree | 1c5b21dbce5ac24a7ab3d3b9f67482c69838cef5 /sway/desktop/xwayland.c | |
parent | Fix xwayland floating views unclickable (diff) | |
download | sway-9a9d9116be4109f733a3309d7f9a7c9edd8db4ae.tar.gz sway-9a9d9116be4109f733a3309d7f9a7c9edd8db4ae.tar.zst sway-9a9d9116be4109f733a3309d7f9a7c9edd8db4ae.zip |
Make view_update_* update live props as well
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) { | |||
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 | } | 286 | } else if (container_is_floating(view->swayc)) { |
287 | |||
288 | if (container_is_floating(view->swayc)) { | ||
289 | view_update_size(view, surface_state->width, surface_state->height); | 287 | view_update_size(view, surface_state->width, surface_state->height); |
290 | } | 288 | } |
291 | 289 | ||