wayland/core: move to new impl (#6268)
* wayland/core/dmabuf: move to new impl it's the final countdown
This commit is contained in:
parent
c31d9ef417
commit
6967a31450
147 changed files with 5388 additions and 2226 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue