mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-11 18:21:54 -07:00
wayland/core: move to new impl (#6268)
* wayland/core/dmabuf: move to new impl it's the final countdown
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user