diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/xwayland.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index 0669a485..ace290ef 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c @@ -284,6 +284,11 @@ static void handle_commit(struct wl_listener *listener, void *data) { transaction_notify_view_ready_by_size(view, surface_state->width, surface_state->height); } + + if (container_is_floating(view->swayc)) { + view_update_size(view, surface_state->width, surface_state->height); + } + view_damage_from(view); } |