diff options
author | Colomban Wendling <[email protected]> | 2020-09-23 18:57:59 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-10-16 22:51:49 +0200 |
commit | 54ce429fd89c0a7a09481637219945616b255ac1 (patch) | |
tree | 2561866a3630dc31597b7858682abb9a61457288 /src/gpm-statistics.c | |
parent | 728d1cbcfae014bfdfc559d2a58f40036a08d0d1 (diff) | |
download | mate-power-manager-54ce429fd89c0a7a09481637219945616b255ac1.tar.bz2 mate-power-manager-54ce429fd89c0a7a09481637219945616b255ac1.tar.xz |
brightness applet: Prevent sliding from bogging down the UI
Do not perform a synchronous DBus call to update the brightness in real
time when the slider move, because at least on some hardware the call
is slow, which leads to the UI bogging down and looking frozen.
To fix this, cap the update rate in response to slider motion. This
makes the brightness apply slightly slower, but prevent most bogging
down (if the rate is well chosen, at least).
Diffstat (limited to 'src/gpm-statistics.c')
0 files changed, 0 insertions, 0 deletions