diff options
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r-- | sway/desktop/xwayland.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index ebf2131e..066556b8 100644 --- a/sway/desktop/xwayland.c +++ b/sway/desktop/xwayland.c | |||
@@ -405,18 +405,8 @@ static void handle_map(struct wl_listener *listener, void *data) { | |||
405 | xwayland_view->commit.notify = handle_commit; | 405 | xwayland_view->commit.notify = handle_commit; |
406 | 406 | ||
407 | // Put it back into the tree | 407 | // Put it back into the tree |
408 | view_map(view, xsurface->surface); | 408 | view_map(view, xsurface->surface, xsurface->fullscreen, false); |
409 | 409 | ||
410 | if (xsurface->fullscreen) { | ||
411 | container_set_fullscreen(view->container, true); | ||
412 | arrange_workspace(view->container->workspace); | ||
413 | } else { | ||
414 | if (view->container->parent) { | ||
415 | arrange_container(view->container->parent); | ||
416 | } else if (view->container->workspace) { | ||
417 | arrange_workspace(view->container->workspace); | ||
418 | } | ||
419 | } | ||
420 | transaction_commit_dirty(); | 410 | transaction_commit_dirty(); |
421 | } | 411 | } |
422 | 412 | ||