Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-08 Thread Jim Wilson
David Megginson said: Andy Ross wrote: It's a fine way, just not the only one. Most people run their desktops at high resolutions that may not be good choices for a 3D buffer. Older cards (like the Radeon 7500 in my laptop) can handle FlightGear just fine, but not at 1280x1024.

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-08 Thread Oliver C.
On Thursday 08 April 2004 15:11, Jim Wilson wrote: You know with the huge vid memories and fast GPUs now, and the fact that LCD's are fixed resolution anyway, it won't be too many more years before mode switching will be a thing of the past! The problem with LCDs is, that their physical

RE: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-08 Thread Norman Vine
Andy Ross writes: Curtis L. Olson wrote: Ok, since you have your head into this at the moment: With X11, is it possible to run an SDL app in window (so it behaves well with the window manger) but in a window that fills the entire screen and is undecorated (so it looks full screen)?

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
Melchior FRANZ wrote: Isn't. Key combinations with Alt and Meta are neither processed (Alt-Tab) nor forwarded to the DE (Meta-F1). They are simply dismissed, which is bad, because they are used for interaction with the the desktop (Meta-F1 is supposed to switch to Desktop 1 here). To my

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
Melchior FRANZ wrote: Oh, and the geometry isn't restored after exit. fgfs/SDL switches to 800x600 when called without --geometry, and leaves it at that. One has to call it again with the geometry that one wants to have afterwards. Known issue. Lots of places in our source tree like to call

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
I wrote: Melchior FRANZ wrote: Isn't. Key combinations with Alt and Meta are neither processed (Alt-Tab) nor forwarded to the DE (Meta-F1). They are simply dismissed, which is bad, because they are used for interaction with the the desktop (Meta-F1 is supposed to switch to Desktop 1

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Curtis L. Olson
Andy Ross wrote: Melchior FRANZ wrote: What I really, really want is: switch to another desktop and write two lines in konversation, or look at Atlas, or check for mail, etc. Without the possibility to switch desktops (despite running fgfs in fullscreen mode) SDL is completely out of question

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
Melchior FRANZ wrote: What I really, really want is: switch to another desktop and write two lines in konversation, or look at Atlas, or check for mail, etc. Without the possibility to switch desktops (despite running fgfs in fullscreen mode) SDL is completely out of question for me. I'll

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
Curtis L. Olson wrote: If SDL can't switch to other virtual desktops when running fullscreen/no-window decorations, then perhaps would there be a way to toggle between fullscreen/window mode so that once you are running in a standard window again, then you can hotkey between virtual desktops.

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
Melchior FRANZ wrote: There's a workaround under KDE that makes SDL as usable as glut: $ kstart --fullscreen fgfs What does that do? Andy ___ Flightgear-devel mailing list [EMAIL PROTECTED]

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
I wrote: Melchior FRANZ wrote: There's a workaround under KDE that makes SDL as usable as glut: $ kstart --fullscreen fgfs What does that do? Never mind. We can't use that: it's a brutal window management hack that grabs the window at creation and diddles its properties before the WM

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Curtis L. Olson
Andy Ross wrote: Never mind. We can't use that: it's a brutal window management hack that grabs the window at creation and diddles its properties before the WM sees it (or maybe it's a hook into the WM implementation, same thing). Note, by the way, that this is *not* actually capable of running

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
Curtis L. Olson wrote: Ok, since you have your head into this at the moment: With X11, is it possible to run an SDL app in window (so it behaves well with the window manger) but in a window that fills the entire screen and is undecorated (so it looks full screen)? Sadly, no. Even if it were,

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Curtis L. Olson
Andy Ross wrote: Sadly, no. Even if it were, that's basically a hack to get around other issues. The Right Thing is to change the video mode, throw up a desktop-integrated fullscreen window, detect when the window is unmapped or loses keyboard focus, and reset the resolution to get back to the

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
How can this be a wrong way to run an app? It's a fine way, just not the only one. Most people run their desktops at high resolutions that may not be good choices for a 3D buffer. Older cards (like the Radeon 7500 in my laptop) can handle FlightGear just fine, but not at 1280x1024. And some

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Curtis L. Olson
Andy Ross wrote: It's a fine way, just not the only one. That's fine, I'm not saying that we should only do full screen this one way, I'm just saying that I would really like to have some mechanism to do it this way if I want to. Most people run their desktops at high resolutions that may

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Erik Hofman
Curtis L. Olson wrote: Andy Ross wrote: It's a fine way, just not the only one. That's fine, I'm not saying that we should only do full screen this one way, I'm just saying that I would really like to have some mechanism to do it this way if I want to. At least we have the command line

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Curtis L. Olson
Erik Hofman wrote: At least we have the command line options for it: --enable-fullscreen : fullscreen at the current resolution. --enable-game-mode : switch to --geometry specified fullscreen mode. And there's plenty more where those came from if need be ... :-) Curt. -- Curtis Olson

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Oliver C.
On Wednesday 07 April 2004 22:57, Curtis L. Olson wrote: So I still don't understand, is SDL unable to open a window covering the entire desktop but with no window decorations? Or can this be done? Or can support for this mode of running be built in and optionally enabled at runtime via

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread Andy Ross
Curtis L. Olson wrote: So I still don't understand, is SDL unable to open a window covering the entire desktop but with no window decorations? Or can this be done? No. Well, yes. It's complicated. :) SDL *is* opening a window covering the entire desktop but with no window decorations. But

Re: [Flightgear-devel] Re: CVS: source/src/Main fg_os_sdl.cxx, 1.5, 1.6

2004-04-07 Thread David Megginson
Andy Ross wrote: It's a fine way, just not the only one. Most people run their desktops at high resolutions that may not be good choices for a 3D buffer. Older cards (like the Radeon 7500 in my laptop) can handle FlightGear just fine, but not at 1280x1024. Right. My desktop resolution is