handle touch devices internally as objects
This commit is contained in:
parent
d44cc9f112
commit
79c645f8cd
5 changed files with 58 additions and 1 deletions
|
|
@ -322,3 +322,13 @@ struct SIMEPopup {
|
|||
return pSurface == other.pSurface;
|
||||
}
|
||||
};
|
||||
|
||||
struct STouchDevice {
|
||||
wlr_input_device* pWlrDevice = nullptr;
|
||||
|
||||
DYNLISTENER(destroy);
|
||||
|
||||
bool operator==(const STouchDevice& other) {
|
||||
return pWlrDevice == other.pWlrDevice;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue