fix accidental subsurface reinclusion
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
d98d2e15ce
commit
d5e6847334
2 changed files with 1 additions and 7 deletions
|
|
@ -240,8 +240,6 @@ struct _MwLLWaylandTopLevel {
|
||||||
|
|
||||||
struct _MwLLWaylandSublevel {
|
struct _MwLLWaylandSublevel {
|
||||||
MwLL parent;
|
MwLL parent;
|
||||||
struct wl_subcompositor* subcompositor;
|
|
||||||
struct wl_subsurface* subsurface;
|
|
||||||
|
|
||||||
struct xdg_surface* xdg_surface;
|
struct xdg_surface* xdg_surface;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1178,8 +1178,6 @@ static wayland_protocol_t* wl_subcompositor_setup(MwU32 name, struct _MwLLWaylan
|
||||||
(void)version;
|
(void)version;
|
||||||
if(wayland->type == MwLL_WAYLAND_TOPLEVEL) {
|
if(wayland->type == MwLL_WAYLAND_TOPLEVEL) {
|
||||||
wayland->toplevel->scompositor = wl_registry_bind(wayland->registry, name, &wl_subcompositor_interface, 1);
|
wayland->toplevel->scompositor = wl_registry_bind(wayland->registry, name, &wl_subcompositor_interface, 1);
|
||||||
} else {
|
|
||||||
wayland->sublevel->subcompositor = wl_registry_bind(wayland->registry, name, &wl_subcompositor_interface, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
@ -1189,8 +1187,6 @@ static void wl_subcompositor_interface_destroy(struct _MwLLWayland* wayland, way
|
||||||
(void)data;
|
(void)data;
|
||||||
if(wayland->type == MwLL_WAYLAND_TOPLEVEL) {
|
if(wayland->type == MwLL_WAYLAND_TOPLEVEL) {
|
||||||
wl_subcompositor_destroy(wayland->toplevel->scompositor);
|
wl_subcompositor_destroy(wayland->toplevel->scompositor);
|
||||||
} else {
|
|
||||||
wl_subcompositor_destroy(wayland->sublevel->subcompositor);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue