summaryrefslogtreecommitdiff
path: root/src/protocols/core/Seat.hpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2026-02-22 06:30:11 -0600
committerGitHub <noreply@github.com>2026-02-22 12:30:11 +0000
commitb4ee4674f9a74e3d602c7fb17bc09f79d221583c (patch)
tree294bbb207c44e778dd78afda65cbd79181f04124 /src/protocols/core/Seat.hpp
parent93dbf884261efcb387e920b1cd0e4ed5b288bc3a (diff)
protocols: implement image-capture-source-v1 and image-copy-capture-v1 (#11709)
Implements the new screencopy protocols
Diffstat (limited to 'src/protocols/core/Seat.hpp')
-rw-r--r--src/protocols/core/Seat.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocols/core/Seat.hpp b/src/protocols/core/Seat.hpp
index c30bbd71..85dc5c39 100644
--- a/src/protocols/core/Seat.hpp
+++ b/src/protocols/core/Seat.hpp
@@ -71,6 +71,7 @@ class CWLTouchResource {
class CWLPointerResource {
public:
CWLPointerResource(SP<CWlPointer> resource_, SP<CWLSeatResource> owner_);
+ ~CWLPointerResource();
bool good();
int version();
@@ -88,6 +89,10 @@ class CWLPointerResource {
WP<CWLSeatResource> m_owner;
+ struct {
+ CSignalT<> destroyed;
+ } m_events;
+
//
static SP<CWLPointerResource> fromResource(wl_resource* res);