I’m implementing scaling support in an extension, and found a problem under Wayland: when fractional scaling is disabled, get_work_area_for_monitor()
always return the physical size of the screen, no matter the zoom level, but when fractional scaling is enabled, it returns the physical value divided by the zoom level.
Is there a way of detecting that fractional scaling is enabled without checking /org/gnome/mutter/experimental-features
in gsettings? (of course, checking if the zoom level is fractional is not valid, because setting zoom to 200% sets an integer value both with and without fractional scaling enabled).
Thanks.