wayland/core: move to new impl (#6268)

* wayland/core/dmabuf: move to new impl

it's the final countdown
This commit is contained in:
Vaxry
2024-06-08 10:07:59 +02:00
committed by GitHub
parent c31d9ef417
commit 6967a31450
147 changed files with 5388 additions and 2226 deletions

View File

@@ -7,9 +7,11 @@
#include "xwayland-shell-v1.hpp"
#include "../helpers/signal/Signal.hpp"
class CWLSurfaceResource;
class CXWaylandSurfaceResource {
public:
CXWaylandSurfaceResource(SP<CXwaylandSurfaceV1> resource_, wlr_surface* surface_);
CXWaylandSurfaceResource(SP<CXwaylandSurfaceV1> resource_, SP<CWLSurfaceResource> surface_);
~CXWaylandSurfaceResource();
bool good();
@@ -19,8 +21,8 @@ class CXWaylandSurfaceResource {
CSignal destroy;
} events;
uint64_t serial = 0;
wlr_surface* surface = nullptr;
uint64_t serial = 0;
WP<CWLSurfaceResource> surface;
WP<CXWaylandSurfaceResource> self;