gnome-power-manager r2181 - in trunk: . src



Author: rhughes
Date: 2007-05-07 13:40:57 +0100 (Mon, 07 May 2007)
New Revision: 2181
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2181&view=rev

Modified:
   trunk/ChangeLog
   trunk/src/gpm-dpms.c
Log:
2007-05-07  Richard Hughes  <richard hughsie com>

* src/gpm-dpms.c: (x11_sync_server_dpms_settings), (x11_get_mode),
(x11_set_mode), (sync_settings), (gpm_dpms_init):
DPMSCapable() can never change for a given display, so cache the
result and cut our wakeups in half. Change modified from a similar patch
by Adam Jackson <ajax redhat com>, many thanks.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]