cursor-shape: allow duplicate devices per pointer resource

fixes #5798
This commit is contained in:
Vaxry
2024-04-30 00:04:59 +01:00
parent f2b03e9679
commit 5e6f7b1cdb
2 changed files with 5 additions and 11 deletions

View File

@@ -33,8 +33,8 @@ class CCursorShapeProtocol : public IWaylandProtocol {
void createCursorShapeDevice(CWpCursorShapeManagerV1* pMgr, uint32_t id, wl_resource* resource);
//
std::unordered_map<wl_resource*, SP<CWpCursorShapeDeviceV1>> m_mDevices;
std::vector<UP<CWpCursorShapeManagerV1>> m_vManagers;
std::vector<SP<CWpCursorShapeDeviceV1>> m_vDevices;
std::vector<UP<CWpCursorShapeManagerV1>> m_vManagers;
};
namespace PROTO {