Mercurial > mplayer.hg
comparison libvo/x11_common.c @ 33986:90a73d713bb2
Make the stop-xscreensaver option behave as described in the man page.
author | reimar |
---|---|
date | Tue, 06 Sep 2011 20:39:06 +0000 |
parents | 5c6f715d8042 |
children | 6b9553934e5d |
comparison
equal
deleted
inserted
replaced
33985:d99f341d8442 | 33986:90a73d713bb2 |
---|---|
1521 | 1521 |
1522 void saver_off(Display * mDisplay) | 1522 void saver_off(Display * mDisplay) |
1523 { | 1523 { |
1524 int nothing; | 1524 int nothing; |
1525 | 1525 |
1526 if (screensaver_off) | 1526 if (!stop_xscreensaver || screensaver_off) |
1527 return; | 1527 return; |
1528 screensaver_off = 1; | 1528 screensaver_off = 1; |
1529 if (xss_suspend(True)) | 1529 if (xss_suspend(True)) |
1530 return; | 1530 return; |
1531 #ifdef CONFIG_XDPMS | 1531 #ifdef CONFIG_XDPMS |