4c17dfb71d
Fix for a hybrid multimonitor configurations:
Previous code was working for me because the display with scale=2
was last on the wayland display list. After restarting it was earlier.
To fix this - just take the highest scale provided by a display.
Similar as eg. here the SDL is doing:
|
||
---|---|---|
.. | ||
CMakeLists.txt | ||
uwac-clipboard.c | ||
uwac-display.c | ||
uwac-input.c | ||
uwac-os.c | ||
uwac-os.h | ||
uwac-output.c | ||
uwac-priv.h | ||
uwac-tools.c | ||
uwac-utils.c | ||
uwac-utils.h | ||
uwac-window.c |