aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-02-27 08:25:43 -0500
committerFurkan Sahin <furkan-dev@proton.me>2018-02-27 08:25:43 -0500
commit230329937f76d33d7f5abc58f86690b559ff1c3b (patch)
treeebd31b9292c9dade3501bb119d821c1473f7c925
parentdeac29d1b6a291d882306d500235451349fc1a27 (diff)
Utilize wlr_xwayland_surface_is_unmanaged
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 7933f7b2..519c050e 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -226,7 +226,7 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
wl_signal_add(&xsurface->events.map_notify, &sway_surface->map_notify);
sway_surface->map_notify.notify = handle_map_notify;
- if (xsurface->override_redirect) {
+ if (wlr_xwayland_surface_is_unmanaged(xsurface)) {
// these don't get a container in the tree
wl_list_insert(&root_container.sway_root->unmanaged_views,
&sway_view->unmanaged_view_link);