Force KDE to switch to 800x600 fullscreen mode?

Hi all !

There seems to be a little problem I have (guess I do something wrong :slight_smile:
Is it possible to make KDE (or X, or whatever…) show a SDL_Surface
that is shown in 800x600 fullscreen mode with SDL ? When I do this :

screen = SDL_SetVideoMode (800,600,32, SDL_FULLSCREEN);

the screen will be

a) fullscreen and
b) 800x600x32,

but it wont

c) fill the whole screen :slight_smile:

so anybody has an idea where i go wrong ?

Sorry about my bad english :slight_smile:

Sascha

Sascha G?nther wrote:

Hi all !

There seems to be a little problem I have (guess I do something wrong :slight_smile:
Is it possible to make KDE (or X, or whatever…) show a SDL_Surface
that is shown in 800x600 fullscreen mode with SDL ? When I do this :

screen = SDL_SetVideoMode (800,600,32, SDL_FULLSCREEN);

the screen will be

a) fullscreen and
b) 800x600x32,

but it wont

c) fill the whole screen :slight_smile:

so anybody has an idea where i go wrong ?

Sorry about my bad english :slight_smile:

Sascha

Try screen=SDL_SetVideoMode(800,600,32,SDL_VIDEO|SDL_FULLSCREEN);

This has nothing to do with any WindowManager !

Regards
Anes

There seems to be a little problem I have (guess I do something wrong :slight_smile:
Is it possible to make KDE (or X, or whatever…) show a SDL_Surface
that is shown in 800x600 fullscreen mode with SDL ? When I do this :

screen = SDL_SetVideoMode (800,600,32, SDL_FULLSCREEN);

the screen will be

a) fullscreen and
b) 800x600x32,

but it wont

c) fill the whole screen :slight_smile:

so anybody has an idea where i go wrong ?

You mean you have a black border around those 800600 pixel? This
happens if you don’t have the resolution 800
600 in your xf86config.
You can add it manually or use some comfortable tool, if you have SuSE
Linux you can do that with SAX on the “extended desktop settings” page.

Bye,
MartinOn Mon, 25 Sep 2000 13:08:21 +0200, Sascha G?nther wrote:

You mean you have a black border around those 800600 pixel? This
happens if you don’t have the resolution 800
600 in your xf86config.
You can add it manually or use some comfortable tool, if you have SuSE
Linux you can do that with SAX on the “extended desktop settings” page.

That’s correct, you need to add lower resolutions to your X config file.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

I get the same problem under BeOS, but I’m trying to switch to modes I know
my desktop supports (640x480).
I haven’t looked into the problem yet because I mostly run in windowed mode
while developing,
so I can’t give more info at the moment.

“Sam Lantinga” wrote in message
news:E13dfVt-0007ru-00 at roboto.devolution.com…> > You mean you have a black border around those 800*600 pixel? This

happens if you don’t have the resolution 800*600 in your xf86config.
You can add it manually or use some comfortable tool, if you have SuSE
Linux you can do that with SAX on the “extended desktop settings” page.

That’s correct, you need to add lower resolutions to your X config file.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software