diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-20 04:38:47 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-20 05:12:05 +0300 |
commit | a76c1ddecc5c0026f35fde21db53cb8eea26c4ac (patch) | |
tree | 9fcff3ceffede79b47ba76c5667110de035c0e3b /source/blender/editors/screen | |
parent | 6e8217d35e0ba920abf423f3e442c33c36ed1bef (diff) |
Fix setting the custom cursor for Hi-DPI displays in Wayland
Changing the cursor would intermittently close Blender's window
(without crashing).
This happened because the size of a cursor must be the a multiple of the
scale, for themed cursor this is always true but with custom cursors
it's not.
Separate theme scale from custom cursor scale to avoid this bug.
In the future we can support Hi-DPI custom cursors, for now they're
scale is always set to 1.
Diffstat (limited to 'source/blender/editors/screen')
0 files changed, 0 insertions, 0 deletions