media-keys: Fetch device node from AcceleratorActivated arguments
Gnome-shell now passes the additional device-node parameter in the variant
we can use to directly look up the right stream for the key event, so
pass it all the way through.
In order to add some wiggle room, still handle the device-id argument as
a fallback, so it works in combination with older gnome-shell. Only do it
on X11 sessions though, as the device ID is only meaningful there.
xsettings: Round the Xft.dpi setting to an integer
When using gnome-tweaks to set a text scale factor that is not a
multiple of 0.25 (e.g. 1.1), Xft.dpi would be calculated as a
floating point number, which breaks the fdo spec:
Although GNOME could handle the floating point Xft.dpi, graphical
programs restrictively followed the above-mentioned spec would be
influenced negatively. For example, QT applications (running on
GNOME desktop) may ignore text scaling factor when Xft.dpi was
calculated as a floating point number:
The patch at the same time has few impact to GNOME itself.
65f6de3...
by
=?utf-8?q?Jonas_Dre=C3=9Fler?= <email address hidden>
shell-helper: Use doubles for shell OSD dbus calls
Allow for more precise values to be sent to the shell to fix a bug
where the volume icon in the shells OSD is not the "muted" icon while
the volume bar shows a value of 0.
This happened because casting the volume to an integer value might
return 0 while the value actually is near 0. Since we also generate the
icon name inside media-keys and use the non-casted value for that, the
icon and the volume we show in the shell would be different.