mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 14:15:58 +01:00
xwayland/xwm: remove unnecessary surface_id reset
xwayland_surface_associate() already does this.
This commit is contained in:
parent
445ce7eac6
commit
cef1811547
1 changed files with 0 additions and 1 deletions
|
@ -1120,7 +1120,6 @@ static void xwm_handle_surface_id_message(struct wlr_xwm *xwm,
|
||||||
wl_client_get_object(xwm->xwayland->server->client, id);
|
wl_client_get_object(xwm->xwayland->server->client, id);
|
||||||
if (resource) {
|
if (resource) {
|
||||||
struct wlr_surface *surface = wlr_surface_from_resource(resource);
|
struct wlr_surface *surface = wlr_surface_from_resource(resource);
|
||||||
xsurface->surface_id = 0;
|
|
||||||
xwayland_surface_associate(xwm, xsurface, surface);
|
xwayland_surface_associate(xwm, xsurface, surface);
|
||||||
} else {
|
} else {
|
||||||
xsurface->surface_id = id;
|
xsurface->surface_id = id;
|
||||||
|
|
Loading…
Reference in a new issue