handle touch devices internally as objects

This commit is contained in:
vaxerski
2022-09-21 14:39:25 +01:00
parent d44cc9f112
commit 79c645f8cd
5 changed files with 58 additions and 1 deletions

View File

@@ -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;
}
};