зеркало из https://github.com/mozilla/gecko-dev.git
c3cca144b4
Implement `get_wayland_screen_info()` by copying from `weston-info`. This allows us to get the actual number of screens. Previously, we'd fall back to using the info from Xwayland, which always reports one single big screen with the combined size (e.g. 3840x1080 instead of 2x1920x1080). Also, this avoids opening a X11 connection. Note: - monitor scale is recorded but not used yet - the code could be simplified. However, keeping the weston-info structure would allow us to easily add queries for other extensions in the future if desired. Differential Revision: https://phabricator.services.mozilla.com/D101383 |
||
---|---|---|
.. | ||
moz.build | ||
mozwayland.c | ||
mozwayland.h |