diff options
author | Adam Jackson <ajax@redhat.com> | 2017-03-24 12:30:56 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-03-27 15:59:35 -0400 |
commit | 8ed0b00fceb34cdb54a0ea113c3cdff3b4c9e7e1 (patch) | |
tree | 59c76b68bd570f499c396d62cfe89e5dc2ef5ab7 /os | |
parent | 21eda7464d0e13ac6558edaf6531c3d3251e05df (diff) |
xfree86: Clean up DPMS support
Rather than setting up a per-screen private, just conditionally
initialize ScrnInfoRec::DPMSSet based on the config options, and inspect
that to determine whether DPMS is supported.
We also move the "turn the screen back on at CloseScreen" logic into the
DPMS extension's (new) reset hook. This would be a behavior change for
the non-xfree86 servers, if any of them had non-stub DPMS support.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'os')
0 files changed, 0 insertions, 0 deletions