|
|
|
@ -1001,7 +1001,7 @@ void Kaffeine::slotSleepAfterPlayMenu()
|
|
|
|
|
m_quitAfterPlay->setChecked(false); //Keep from checking both quits
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_DPMS
|
|
|
|
|
Display *dspl = qt_xdisplay();
|
|
|
|
|
Display *dspl = tqt_xdisplay();
|
|
|
|
|
int base;
|
|
|
|
|
bool hasDPMS = DPMSQueryExtension(dspl, &base, &base);
|
|
|
|
|
if (!hasDPMS) // Check Xserver for DPMS
|
|
|
|
@ -1022,7 +1022,7 @@ void Kaffeine::slotSleepAfterPlayMenu()
|
|
|
|
|
void Kaffeine::slotSleepAfterPlay()
|
|
|
|
|
{
|
|
|
|
|
#ifdef HAVE_DPMS
|
|
|
|
|
Display *dspl = qt_xdisplay();
|
|
|
|
|
Display *dspl = tqt_xdisplay();
|
|
|
|
|
CARD16 standby;
|
|
|
|
|
CARD16 suspend;
|
|
|
|
|
CARD16 off;
|
|
|
|
|