SFML community forums

Help => Window => Topic started by: jakov on March 16, 2013, 12:41:00 am

Title: Second monitor turns off
Post by: jakov on March 16, 2013, 12:41:00 am
Whenever I start a fullscreen window (using SFML-2) the 2nd monitor turns itself off. This happens in both Windows and Linux.

Is there a way to open  a fullscreen window without this happening?

Or is there any way to make a "normal" window lie on top and cover the entire screen, instead, in effect a "fake fullscreen"?
Title: Re: Second monitor turns off
Post by: eXpl0it3r on March 16, 2013, 01:38:01 am
Whenever I start a fullscreen window (using SFML-2) the 2nd monitor turns itself off. This happens in both Windows and Linux.

Is there a way to open  a fullscreen window without this happening?
Well it doesn't happen for me. I'd guess it's your graphics card/driver that does this.
What graphics card do you have and is the driver uptodate?

Can you run other games in fullscreen with the 2nd monitor not turning off?

Or is there any way to make a "normal" window lie on top and cover the entire screen, instead, in effect a "fake fullscreen"?
Yes you can do that too. Just set the window style to I think sf::Style::None and the resolution to sf::VideoMode::getDesktopMode().
Keep in mind though, that it will lead to a small FPS drop.