Windowed fullscreen
Moderator: Moderators
Windowed fullscreen
Recent games are frequently enabling "windowed fullscreen" mode - basically game creates window without borders thats on top and takes full screen.
Such option has benefits of both windowed and fullscreen mode - the game takes up whole screen and task switching is instant.
Such option has benefits of both windowed and fullscreen mode - the game takes up whole screen and task switching is instant.
Re: Windowed fullscreen
I approve greatly of this, it would mean I can run Visual studio debugger and make breakpoints in my AI in fullscreen mode, whereas at the moment, you have to run it in windowed or close spring to catch a glimpse of the output
- CaptainPoo
- Posts: 19
- Joined: 28 Jul 2010, 13:46
Re: Windowed fullscreen
I use this setting on most games I play
Spring has minor problems with alt tabbing for me like the camera zoom gets messed up - but for some people it causes their game to crash etc
So this would be a good thing to have
Spring has minor problems with alt tabbing for me like the camera zoom gets messed up - but for some people it causes their game to crash etc
So this would be a good thing to have
Re: Windowed fullscreen
last time i asked for that someone (probably jK) said ... NO
Re: Windowed fullscreen
Someone on Windows will have to do this since decent window managers already include the option without requiring application support for it 

Re: Windowed fullscreen
Is SDL used for creating the window and gl context?
Re: Windowed fullscreen
I approve of this request.
Re: Windowed fullscreen
Yeah, always that evil jK ...Satirik wrote:last time i asked for that someone (probably jK) said ... NO
Re: Windowed fullscreen
TEUFEL !!!jK wrote:Yeah, always that evil jK ...Satirik wrote:last time i asked for that someone (probably jK) said ... NO
Re: Windowed fullscreen
+1 impulse weight
Yeah, this is a good idea. I use this mode with any game that supports it. right now I'm running spring in a maximized window on my primary monitor. Borderless would be much nicer.
PS: This setting is also called 'Borderless window.'
Yeah, this is a good idea. I use this mode with any game that supports it. right now I'm running spring in a maximized window on my primary monitor. Borderless would be much nicer.

PS: This setting is also called 'Borderless window.'
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Windowed fullscreen
Resurrecting this feature request because I wants it muchly.
Re: Windowed fullscreen
Internet says SDL supports "borderless" or "frameless" windows in Windows and Linux... it also seems pretty simple... are there any people out there capable of compiling and willing to try?
apparently you just set the fourth parameter of SDL_SetVideoMode() to SDL_NOFRAME for you screen surface.
apparently you just set the fourth parameter of SDL_SetVideoMode() to SDL_NOFRAME for you screen surface.
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: Windowed fullscreen
Code: Select all
diff --git a/rts/System/SpringApp.cpp b/rts/System/SpringApp.cpp
index d128ce5..d6ef0e8 100644
--- a/rts/System/SpringApp.cpp
+++ b/rts/System/SpringApp.cpp
@@ -376,7 +376,7 @@ bool SpringApp::SetSDLVideoMode()
int sdlflags = SDL_OPENGL | SDL_RESIZABLE;
//! w/o SDL_NOFRAME, kde's windowmanager still creates a border and force a `window`-resize causing a lot of trouble
- sdlflags |= globalRendering->fullScreen ? SDL_FULLSCREEN | SDL_NOFRAME : 0;
+ sdlflags |= globalRendering->fullScreen ? SDL_FULLSCREEN | SDL_NOFRAME : SDL_NOFRAME;
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
- Attachments
-
- noframe.jpg
- (84.8 KiB) Downloaded 5 times