1
1
mirror of https://github.com/swaywm/sway synced 2024-09-30 04:51:18 +02:00

Utilize wlr_xwayland_surface_is_unmanaged

This commit is contained in:
Drew DeVault 2018-02-27 08:25:43 -05:00
parent caf28c0c9f
commit 3c80498891

@ -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); wl_signal_add(&xsurface->events.map_notify, &sway_surface->map_notify);
sway_surface->map_notify.notify = handle_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 // these don't get a container in the tree
wl_list_insert(&root_container.sway_root->unmanaged_views, wl_list_insert(&root_container.sway_root->unmanaged_views,
&sway_view->unmanaged_view_link); &sway_view->unmanaged_view_link);