September 9, 2014 at 4:22 am #66140striderParticipant
As we all know, SDL2 is pretty much the only lib out there managing fullscreen application correctly. SDL1.2 games and games not using SDL at all tend to fuck up fullscreen pretty badly (not handling xrandr properly, grabbing all keyboard input volume control and alt+tab included, putting the game window in the middle of two screens).
My goal is to make a very small lib based on the SDL2 code that handles fullscreen which could be easily incorporated into games using X11 and SDL1.2.
The API should remain as simple as possible and stay as close as possible to the SDL2 naming.
The lib should come with a nice developer-friendly documentation explaining what makes a proper fullscreen window.
I’ve started reviewing the SDL2 code (src/video/X11/*) and this seems totally doable. I’ve also started experimenting with fullscreen windows on the PCSXR emulator. But my problem is that I lack expertise in C programming, being most used to web stuff in Python or system scripting. I have a very hard time getting anything done (but I’m getting better, slowly).
So if anyone would like to see this happen in this lifetime, please give me a hand here. I’ve started a repo here: https://github.com/lutris/libfswindow and will give you commit rights if you want to contribute. The project uses an Apache 2 license to allow its use in any proprietary game.September 10, 2014 at 11:33 am #71598Ryochan7Member
I don’t know if you have heard about it but you might want to check out SDLHack. It is useful for being able to minimize fullscreen SDL 1.2 applications. I also use it to disable joystick support sometimes. The source code for SDLHack might be a useful resource for your project. http://www.jspenguin.org/software/sdlhack/September 10, 2014 at 4:39 pm #71604
- You must be logged in to reply to this topic.