aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 9ca2c721..fc99490b 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -793,8 +793,8 @@ static void xwm_map_shell_surface(struct wlr_xwm *xwm,
static void xsurface_unmap(struct wlr_xwayland_surface *surface) {
if (surface->mapped) {
- surface->mapped = false;
wlr_signal_emit_safe(&surface->events.unmap, surface);
+ surface->mapped = false;
xwm_set_net_client_list(surface->xwm);
}