edc5c78...
by
Alexander Larsson <email address hidden>
xsettings: Talk monitor scale into consideration when computing dpi
cd63777...
by
Alexander Larsson <email address hidden>
xsettings: Add support for window-scaling
We read the window-scale-factor gsettings and propagate to gdk, including doing
auto-detection if the setting is 0.
Additionally, we scale the old Xft.DPI setting by the window scale so that old
applications get a decent size on very high dpi monitors, plus we report the
unscaled dpi so that window scale aware apps (like gtk) can avoid this
dpi scaling.
A property is easier for clients to manage, as they'll automatically
get new PropertiesChanged signals when the value changes, and with
GDBus bindings, properties are cached field lookups that don't require
asynchronous access.
If there are any errors when fetching the new brightness, the value
-1 is returned, so the interface has been modified slightly to support
signed values.
Also adapt the color and media-keys plugins to the new interface.
power: Make GetPrimaryDevice always return the composite device
With one battery, the composite device should report what we want as
well, so this shouldn't see any major changes in most cases. The reason
this is wanted is so that when the device is charging or fully charged,
we'll get the composite device as well, rather than throwing an error.