parent
e5384774a8
commit
d5689bb539
30 changed files with 116 additions and 118 deletions
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
class CVirtualPointerV1Resource {
|
||||
public:
|
||||
CVirtualPointerV1Resource(SP<CZwlrVirtualPointerV1> resource_, WP<CMonitor> boundOutput_);
|
||||
CVirtualPointerV1Resource(SP<CZwlrVirtualPointerV1> resource_, PHLMONITORREF boundOutput_);
|
||||
~CVirtualPointerV1Resource();
|
||||
|
||||
struct {
|
||||
|
|
@ -35,12 +35,12 @@ class CVirtualPointerV1Resource {
|
|||
CSignal holdEnd;
|
||||
} events;
|
||||
|
||||
bool good();
|
||||
wl_client* client();
|
||||
bool good();
|
||||
wl_client* client();
|
||||
|
||||
std::string name;
|
||||
std::string name;
|
||||
|
||||
WP<CMonitor> boundOutput;
|
||||
PHLMONITORREF boundOutput;
|
||||
|
||||
private:
|
||||
SP<CZwlrVirtualPointerV1> resource;
|
||||
|
|
@ -63,7 +63,7 @@ class CVirtualPointerProtocol : public IWaylandProtocol {
|
|||
private:
|
||||
void onManagerResourceDestroy(wl_resource* res);
|
||||
void destroyResource(CVirtualPointerV1Resource* pointer);
|
||||
void onCreatePointer(CZwlrVirtualPointerManagerV1* pMgr, wl_resource* seat, uint32_t id, WP<CMonitor> output);
|
||||
void onCreatePointer(CZwlrVirtualPointerManagerV1* pMgr, wl_resource* seat, uint32_t id, PHLMONITORREF output);
|
||||
|
||||
//
|
||||
std::vector<UP<CZwlrVirtualPointerManagerV1>> m_vManagers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue