[Xfce4-commits] [xfce/xfce4-power-manager] 01/07: Increase the brightness update timeout to 50ms

noreply at xfce.org noreply at xfce.org
Tue Aug 5 10:08:44 CEST 2014


This is an automated email from the git hooks/post-receive script.

hjudt pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 7bff72e9a4d67d1cab4602f4c65c319a0d2c89ed
Author: Harald Judt <h.judt at gmx.at>
Date:   Mon Aug 4 21:13:45 2014 +0200

    Increase the brightness update timeout to 50ms
    
    I still noticed a slow-down on my machine even with the newly introduced
    update timer. Increasing it to 50ms is still enough for not causing the
    updates lagging behind too much, while filtering enough events to keep
    the widget response snappy even with two monitors attached.
---
 panel-plugins/battery/battery-button.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugins/battery/battery-button.c b/panel-plugins/battery/battery-button.c
index 06b214d..0570ce5 100644
--- a/panel-plugins/battery/battery-button.c
+++ b/panel-plugins/battery/battery-button.c
@@ -42,7 +42,7 @@
 #include "scalemenuitem.h"
 
 
-#define SET_LEVEL_TIMEOUT (25)
+#define SET_LEVEL_TIMEOUT (50)
 
 #define BATTERY_BUTTON_GET_PRIVATE(o) \
 (G_TYPE_INSTANCE_GET_PRIVATE ((o), BATTERY_TYPE_BUTTON, BatteryButtonPrivate))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list