mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
mayeb fixed dpms/screensaver issues
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7634 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
31d0724c82
commit
bb6927634a
@ -762,6 +762,7 @@ void saver_on(Display *mDisplay) {
|
||||
}
|
||||
}
|
||||
}
|
||||
dpms_disabled=0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -771,6 +772,7 @@ void saver_on(Display *mDisplay) {
|
||||
XGetScreenSaver(mDisplay, &dummy, &interval, &prefer_blank, &allow_exp);
|
||||
XSetScreenSaver(mDisplay, timeout_save, interval, prefer_blank, allow_exp);
|
||||
XGetScreenSaver(mDisplay, &timeout_save, &interval, &prefer_blank, &allow_exp);
|
||||
timeout_save=0;
|
||||
}
|
||||
|
||||
if (xscreensaver_was_running && stop_xscreensaver)
|
||||
|
Loading…
Reference in New Issue
Block a user