diff options
| author | Morteza Jamshidi <morteza.jamshidi@qt.io> | 2024-10-01 16:26:58 +0200 |
|---|---|---|
| committer | Morteza Jamshidi <morteza.jamshidi@qt.io> | 2025-01-21 14:59:35 +0200 |
| commit | 7ebdce3cde422002e37e16a1a3882626ec6ab5ff (patch) | |
| tree | 03f3a1ddb588522d76e71ef75300c81d8f118cb4 /src/gui/platform/unix/qgenericunixservices.cpp | |
| parent | 9a3199fec2673e591811a4775ec8a00073c9f433 (diff) | |
Differentiate cached cursors with different hotspots or dpi scales
Increased cache accuracy by adding cursor hotspot and dpi scale
to the QWindowsPixmapCursorCacheKey.
Also added cursor hotspot to the QXcbCursorCacheKey.
With this change qt supports creating cursors based on the same
disk file but with different hotspot or dpi scale
Fixes: QTBUG-122381
Change-Id: I1ed6f8fab7f72fe5b658c4f68fa86bc8a033040f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions
