sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 17bee33fc9497448f7d3f4121ecf9821bf7b5956
parent 8e32c4a1fb287d1a3675f3359891d909dc2b9456
Author: emersion <contact@emersion.fr>
Date:   Fri, 20 Apr 2018 16:24:34 +0100

Don't unmap on destroy, this is already guaranteed by wlroots

Diffstat:
Msway/desktop/xwayland.c | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c @@ -257,11 +257,6 @@ static void handle_map(struct wl_listener *listener, void *data) { static void handle_destroy(struct wl_listener *listener, void *data) { struct sway_xwayland_view *xwayland_view = wl_container_of(listener, xwayland_view, destroy); - struct sway_view *view = &xwayland_view->view; - struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface; - if (xsurface->mapped) { - handle_unmap(&xwayland_view->unmap, xsurface); - } view_destroy(&xwayland_view->view); }