summaryrefslogtreecommitdiff
path: root/src/protocols/CursorShape.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-30 00:04:59 +0100
committerVaxry <vaxry@vaxry.net>2024-04-30 00:05:29 +0100
commit5e6f7b1cdb72b394ad8556bb232ac8a406d851b4 (patch)
tree70bbfae4c36295590703f4d6ab6a24e6b18ee1ac /src/protocols/CursorShape.hpp
parentf2b03e9679bc1a091fecffd98b50a4179b5c7d43 (diff)
cursor-shape: allow duplicate devices per pointer resource
fixes #5798
Diffstat (limited to 'src/protocols/CursorShape.hpp')
-rw-r--r--src/protocols/CursorShape.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/CursorShape.hpp b/src/protocols/CursorShape.hpp
index 9a527f85..9fcca28d 100644
--- a/src/protocols/CursorShape.hpp
+++ b/src/protocols/CursorShape.hpp
@@ -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 {