After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 726055 - GnomeRR: force the DPMS mode change to mutter always
GnomeRR: force the DPMS mode change to mutter always
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
unspecified
Other All
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks: 712706
 
 
Reported: 2014-03-10 19:29 UTC by Giovanni Campagna
Modified: 2014-03-11 16:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GnomeRR: force the DPMS mode change to mutter always (1.30 KB, patch)
2014-03-10 19:29 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2014-03-10 19:29:40 UTC
Our cached DPMS mode value can be wrong in face of changes by
other clients we haven't seen yet, so always send the change
to mutter, and let it optimize away if needed (in practice,
it should never optimize, because the only reliable source
of DPMS state is the kernel driver, and several API calls
can reset DPMS without any change notification)
Comment 1 Giovanni Campagna 2014-03-10 19:29:43 UTC
Created attachment 271465 [details] [review]
GnomeRR: force the DPMS mode change to mutter always
Comment 2 Rui Matos 2014-03-11 13:35:55 UTC
Review of attachment 271465 [details] [review]:

You can take out the unused variables too.
Comment 3 Giovanni Campagna 2014-03-11 16:37:15 UTC
Attachment 271465 [details] pushed as b84f315 - GnomeRR: force the DPMS mode change to mutter always