color/night-light: Make sure to set target temperature
When smoothing a temperature, we practically never ended up setting the
target temperature, since the throttling dropped the last few changes.
For example, after night light was disabled, the temperature tended to
get stuck on 6494 instead of 6500. Fix this by making sure the target
temperature is forced, ignoring the throttling.
Also disable throttling when not smoothing, as it's likely we want the
temperature that is actually asked for.
The org.gnome.SettingsDaemon.Color.Temperature property has the type 'u'
which is a 32 bit unsigned integer. What we sent was a double (type 'd').
Make sure we send the right type in the notify signal.
1e8b4be...
by
Benjamin Berg <email address hidden>
power: Do not print an error for failures from realpath
Doing so leaks information about whether a file/directory exists even if
it is outside of the /sys/class/backlight directory.
Closes: #634
95380d7...
by
Nishal Kulkarni <email address hidden>
keyboard: deprecation warning fix
`gdk_display_get_device_manager` is now deprecated,
Use GdkSeat instead of GdkDeviceManager for connecting to
device added and removed signals.
Using `gdk_display_get_default_seat` instead of
`gdk_display_get_display_manager`