![]() |
|
A5 win7 screensaver |
William Labbett
Member #4,486
March 2004
![]() |
hi again, have been running a program which has a screen which stays the same unless a key is pressed so when I run it I expected the windows screensaver to kick in after a while but it doesn't show up. The video mode is FULLSCREEN. Anyone know why it doesn't show up ?
|
Arthur Kalliokoski
Second in Command
February 2005
![]() |
They all watch too much MSNBC... they get ideas. |
Thomas Fjellstrom
Member #476
June 2000
![]() |
I think allegro tells the OS to not trigger a screensaver. But maybe not. -- |
William Labbett
Member #4,486
March 2004
![]() |
I'm not calling al_inhibit_screensaver() at all. I assumed the default was false. So a call like al_inhibit_screensaver(true) would effectively do nothing if allegro tells the OS to inhibit it. hhhmmmm...
|
Trent Gamblin
Member #261
April 2000
![]() |
Allegro doesn't tell it to inhibit it unless you do call that function with 'true'.
|
Arthur Kalliokoski
Second in Command
February 2005
![]() |
If you want the screensaver to kick in, you have to pass false, right? They all watch too much MSNBC... they get ideas. |
Trent Gamblin
Member #261
April 2000
![]() |
No, not unless it has changed under my nose. EDIT: The documentation confirms: EDIT2: or rather doesn't confirm... it sets it to whatever it was set to when the program starts if you pass false.
|
William Labbett
Member #4,486
March 2004
![]() |
Trent Gamblin said: Allegro doesn't tell it to inhibit it unless you do call that function with 'true'. hence why I'm wondering why it's not coming up.
|
Trent Gamblin
Member #261
April 2000
![]() |
Is your screensaver turned off in Windows settings? Are you pressing keys or using the mouse?
|
William Labbett
Member #4,486
March 2004
![]() |
Before I answered no and no, I thought I better check. The answer is the screensaver isn't disabled in the windows settings but for some reason it isn't coming up after the time it's says it should so something's stopping it but I don't know what
|
Trent Gamblin
Member #261
April 2000
![]() |
Would power management settings have anything to do with the screensaver?
|
William Labbett
Member #4,486
March 2004
![]() |
I tried fidding with them. They don't seem to have anything to do with anything. It says it should turn off the monitor after a minute but it doesn't after 10. Sorry to be a pain. I don't understand this OS.
|
Arthur Kalliokoski
Second in Command
February 2005
![]() |
There are often settings in the CMOS setup when you first power on the computer (it says "Press DEL for setup" or similar.) Anyway, does the screensaver come on with just the desktop running? And then it won't work with the game running in fullscreen? No matter what you pass to al_inhibit_screensaver()? They all watch too much MSNBC... they get ideas. |
William Labbett
Member #4,486
March 2004
![]() |
Arthur Kalliokoski said: Anyway, does the screensaver come on with just the desktop running? no EDIT : right. Back on track. I rebooted and now the screensaver does come up when just the desktop is running and the monitor does turn off so things are working. Might have been because windows had an update to install. Anyway, now if I run my program in windowed mode the screensaver DOES come up, but in FULLSCREEN it DOESN'T.
|
Evert
Member #794
November 2000
![]() |
William Labbett said: if I run my program in windowed mode the screensaver DOES come up, but in FULLSCREEN it DOESN'T.
Could that be normal? If some program takes over the screen, then Windows doesn't activate the screensaver? |
Arthur Kalliokoski
Second in Command
February 2005
![]() |
The source is too complicated for me, but try the fullscreen thing both ways with al_inhibit_screensaver(1) or al_inhibit_screensaver(0). My guess is the fullscreen mode turns screensaver off but not windowed mode. They all watch too much MSNBC... they get ideas. |
Trent Gamblin
Member #261
April 2000
![]() |
I'm not sure if that's normal or not... could it be a display driver setting? I guess it's off to windows for me to test it... EDIT1: EDIT2:
|
|