diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-22 15:45:18 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-12-22 15:45:18 +0100 |
commit | cef1811547a8c3dcdfae6feb5a3100d9c1148729 (patch) | |
tree | 8ca88a30b11b2ed8c9a076a4433af91b2e466139 | |
parent | 445ce7eac63793130fa51f0f5d1811884fa8b579 (diff) |
xwayland/xwm: remove unnecessary surface_id reset
xwayland_surface_associate() already does this.
-rw-r--r-- | xwayland/xwm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c index c39f640f..64052ef6 100644 --- a/xwayland/xwm.c +++ b/xwayland/xwm.c @@ -1120,7 +1120,6 @@ static void xwm_handle_surface_id_message(struct wlr_xwm *xwm, wl_client_get_object(xwm->xwayland->server->client, id); if (resource) { struct wlr_surface *surface = wlr_surface_from_resource(resource); - xsurface->surface_id = 0; xwayland_surface_associate(xwm, xsurface, surface); } else { xsurface->surface_id = id; |