[SDL] Unable to debug SDL applications on X11
havoc at ghdigital.com
Mon Nov 10 08:44:25 PST 2008
Alberto Luaces wrote:
> Then another way could be pressing CTRL+ALT+F1 to get a text mode console,
> login and inspect with 'top' what is happening. You could also attach the
> debugger to your already run program by executing "gdb executable PID".
Switching to/from text mode consoles will lock up the machine on official ATI drivers, works on all other drivers though.
The fundamental basis of alt-tab not working is that SDL is not asking the window manager to make it a fullscreen window, rather it's opening its own unmanaged window which can not receive input from
the window manager at all, so it has to grab all input (it has no choice - otherwise input is passed on to windows underneath it).
I assume that SDL attempts to negotiate a fullscreen request with the window manager but not sure which window managers it is compatible with, if it fails to negotiate a fullscreen request, then it
has no choice but to open an unmanaged window and grab everything.
Forest 'LordHavoc' Hale
Author of DarkPlaces Quake1 engine and mod
Address: 94340 Horton Road Blachly OR 97412
More information about the SDL