aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 720ea2fd..1d5dab70 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -342,10 +342,7 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
view_set_fullscreen(view, xsurface->fullscreen);
struct sway_container *ws = container_parent(view->swayc, C_WORKSPACE);
- struct sway_transaction *transaction = transaction_create();
- arrange_windows(ws, transaction);
- transaction_add_damage(transaction, container_get_box(ws->parent));
- transaction_commit(transaction);
+ arrange_and_commit(ws);
}
static void handle_set_title(struct wl_listener *listener, void *data) {