aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-02-27 08:25:43 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-02-27 08:26:18 -0500
commit3c80498891a831b5cff356fd448efd62c77b031f (patch)
treeebd31b9292c9dade3501bb119d821c1473f7c925 /sway/desktop
parentMerge pull request #1608 from acrisci/ipc-focused (diff)
downloadsway-3c80498891a831b5cff356fd448efd62c77b031f.tar.gz
sway-3c80498891a831b5cff356fd448efd62c77b031f.tar.zst
sway-3c80498891a831b5cff356fd448efd62c77b031f.zip
Utilize wlr_xwayland_surface_is_unmanaged
Diffstat (limited to 'sway/desktop')
-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) {
226 wl_signal_add(&xsurface->events.map_notify, &sway_surface->map_notify); 226 wl_signal_add(&xsurface->events.map_notify, &sway_surface->map_notify);
227 sway_surface->map_notify.notify = handle_map_notify; 227 sway_surface->map_notify.notify = handle_map_notify;
228 228
229 if (xsurface->override_redirect) { 229 if (wlr_xwayland_surface_is_unmanaged(xsurface)) {
230 // these don't get a container in the tree 230 // these don't get a container in the tree
231 wl_list_insert(&root_container.sway_root->unmanaged_views, 231 wl_list_insert(&root_container.sway_root->unmanaged_views,
232 &sway_view->unmanaged_view_link); 232 &sway_view->unmanaged_view_link);