[Xfce4-commits] <xfce4-power-manager:master> Update NEWS file+use Xsync after switching off the screen
Ali Abdallah
noreply at xfce.org
Mon Oct 12 20:56:01 CEST 2009
Updating branch refs/heads/master
to 11be8d0f1abc384f16066b08c97c2eb2de1ed251 (commit)
from c690d076b4606dcc40c2eee7a82c9f7ca400da59 (commit)
commit 11be8d0f1abc384f16066b08c97c2eb2de1ed251
Author: Ali Abdallah <ali at ali-xfce.org>
Date: Mon Oct 12 20:54:57 2009 +0000
Update NEWS file+use Xsync after switching off the screen
NEWS | 8 ++++++++
src/xfpm-dpms.c | 4 ++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index e020918..2d6c4ea 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+0.8.4.1
+=======
+- Because on some systems we might not have the brightness keys mapped
+ brightness changes are not reflected to xfpm when keys are pressed, so
+ save the actual brightness before dimming the screen on idle to restore it
+ afterword. (bug #5811).
+-
+
0.8.4
=======
- Don't lock screen on lid event when multiple monitor are connected.
diff --git a/src/xfpm-dpms.c b/src/xfpm-dpms.c
index 3022096..2cb3c5e 100644
--- a/src/xfpm-dpms.c
+++ b/src/xfpm-dpms.c
@@ -252,7 +252,9 @@ xfpm_dpms_force_off (gpointer data)
if ( !DPMSForceLevel (GDK_DISPLAY (), DPMSModeOff ) )
{
g_warning ("Cannot set Force DPMSModeOff");
+ goto out;
}
+ XSync (GDK_DISPLAY (), FALSE);
}
out:
@@ -283,7 +285,9 @@ xfpm_dpms_force_on (gpointer data)
if ( !DPMSForceLevel (GDK_DISPLAY (), DPMSModeOn ) )
{
g_warning ("Cannot set Force DPMSModeOn");
+ goto out;
}
+ XSync (GDK_DISPLAY (), FALSE);
}
out:
More information about the Xfce4-commits
mailing list