summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/desktop/xwayland.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 46eaa84c..cad9156d 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -257,11 +257,6 @@ static void handle_map(struct wl_listener *listener, void *data) {
257static void handle_destroy(struct wl_listener *listener, void *data) { 257static void handle_destroy(struct wl_listener *listener, void *data) {
258 struct sway_xwayland_view *xwayland_view = 258 struct sway_xwayland_view *xwayland_view =
259 wl_container_of(listener, xwayland_view, destroy); 259 wl_container_of(listener, xwayland_view, destroy);
260 struct sway_view *view = &xwayland_view->view;
261 struct wlr_xwayland_surface *xsurface = view->wlr_xwayland_surface;
262 if (xsurface->mapped) {
263 handle_unmap(&xwayland_view->unmap, xsurface);
264 }
265 view_destroy(&xwayland_view->view); 260 view_destroy(&xwayland_view->view);
266} 261}
267 262