aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index d8442530..70929d48 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -11,6 +11,7 @@
11#include "sway/input/seat.h" 11#include "sway/input/seat.h"
12#include "sway/output.h" 12#include "sway/output.h"
13#include "sway/server.h" 13#include "sway/server.h"
14#include "sway/tree/arrange.h"
14#include "sway/tree/container.h" 15#include "sway/tree/container.h"
15#include "sway/tree/layout.h" 16#include "sway/tree/layout.h"
16#include "sway/tree/view.h" 17#include "sway/tree/view.h"
@@ -292,6 +293,7 @@ static void handle_map(struct wl_listener *listener, void *data) {
292 if (xsurface->fullscreen) { 293 if (xsurface->fullscreen) {
293 view_set_fullscreen(view, true); 294 view_set_fullscreen(view, true);
294 } 295 }
296 arrange_and_commit(view->swayc);
295} 297}
296 298
297static void handle_destroy(struct wl_listener *listener, void *data) { 299static void handle_destroy(struct wl_listener *listener, void *data) {
@@ -325,6 +327,7 @@ static void handle_request_fullscreen(struct wl_listener *listener, void *data)
325 return; 327 return;
326 } 328 }
327 view_set_fullscreen(view, xsurface->fullscreen); 329 view_set_fullscreen(view, xsurface->fullscreen);
330 arrange_and_commit(view->swayc);
328} 331}
329 332
330static void handle_set_title(struct wl_listener *listener, void *data) { 333static void handle_set_title(struct wl_listener *listener, void *data) {