diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-11 13:56:01 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-11 14:03:58 +0300 |
commit | 922861c5dc4001de94e4f32360e893553244ab80 (patch) | |
tree | abaf78c834411eae0d9582f3cba167a7d182bb00 /source/blender/blenlib/intern | |
parent | add1da52ad783e33e8abb0a790ddc97dd89dab92 (diff) |
Cleanup: minor changes to GHOST/Wayland window output access
- Use a window method to handle updating the window after scale changes.
This avoids the need for methods that return mutable references to
DPI & scale.
- Remove window.outputs() method that returned window->system->outputs
as it is misleading to expose these as window outputs when the outpurs
returned are all known outputs.
- Use a vector instead of an unordered_set to store window outputs,
while a 'set' does make sense, it means the outputs can't be accessed
in the order they're added which may be useful for further changes.
- Use early returns.
Diffstat (limited to 'source/blender/blenlib/intern')
0 files changed, 0 insertions, 0 deletions