aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-02 21:58:21 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-02 21:58:21 +1000
commitd467452e5e06bb4f9aaf98ba92f9696770b188ed (patch)
tree5354fc4bc00f426f3f9487242cf6203d9ad45e57 /sway/desktop/xwayland.c
parentf611a4f9b10ee3e5c8115c3bd89e9fda51ade104 (diff)
Fix damage on swaybar when view requests to exit fullscreen
Fixes #2191
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 4bb35f60..71803262 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -379,8 +379,8 @@ 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);
- arrange_and_commit(ws);
+ struct sway_container *output = container_parent(view->swayc, C_OUTPUT);
+ arrange_and_commit(output);
}
static void handle_set_title(struct wl_listener *listener, void *data) {