aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-13 08:47:17 -0400
committerGitHub <noreply@github.com>2018-04-13 08:47:17 -0400
commita5735c08c7c3d99c452ea87a591afef0f4c2f5d2 (patch)
treea0506600c7387e83c0aab93d904d8abc97df2623 /sway/desktop
parent517b6dabdfeb9ac6aefa5c255ad6dc73ee65410f (diff)
parentbdaf420ead7ae263ce35efec0c7bd79143664dbc (diff)
Merge pull request #1808 from emersion/xwayland-unmapped-on-create
Do not call the map handler when an xwayland surface is created
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/xwayland.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 413dbf8b..69166af0 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -113,8 +113,6 @@ static struct sway_xwayland_unmanaged *create_unmanaged(
wl_signal_add(&xsurface->events.destroy, &surface->destroy);
surface->destroy.notify = unmanaged_handle_destroy;
- unmanaged_handle_map(&surface->map, xsurface);
-
return surface;
}
@@ -305,6 +303,4 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
wl_signal_add(&xsurface->events.map, &xwayland_view->map);
xwayland_view->map.notify = handle_map;
-
- handle_map(&xwayland_view->map, xsurface);
}