1 | *** mythtv/libs/libmythui/screensaver-x11.cpp.orig Fri Jan 30 13:18:06 2009 |
---|
2 | --- mythtv/libs/libmythui/screensaver-x11.cpp Fri Jan 30 13:47:01 2009 |
---|
3 | *************** |
---|
4 | *** 74,81 **** |
---|
5 | |
---|
6 | if (m_dpmsenabled) |
---|
7 | VERBOSE(VB_GENERAL, "DPMS is active."); |
---|
8 | ! else |
---|
9 | VERBOSE(VB_GENERAL, "DPMS is disabled."); |
---|
10 | } |
---|
11 | else |
---|
12 | { |
---|
13 | --- 74,87 ---- |
---|
14 | |
---|
15 | if (m_dpmsenabled) |
---|
16 | VERBOSE(VB_GENERAL, "DPMS is active."); |
---|
17 | ! else |
---|
18 | ! { |
---|
19 | VERBOSE(VB_GENERAL, "DPMS is disabled."); |
---|
20 | + Status status = DPMSEnable(m_display); |
---|
21 | + XSync(m_display, FALSE); |
---|
22 | + VERBOSE(VB_GENERAL, LOC + QString("DPMS Reactivated %1").arg(status)); |
---|
23 | + m_dpmsenabled = true ; |
---|
24 | + } |
---|
25 | } |
---|
26 | else |
---|
27 | { |
---|