View Single Post
Posts: 958 | Thanked: 483 times | Joined on May 2010
#1
i am new to Linux / N900 / SDL programming. but I am not new to mobile development (11 years) or programming (>25 years). i have experience in C and C++ plus a few other languages.

i am currently picking up an app that someone wrote here but has since abandoned a long time ago. this app uses SDL.

the app is written in C to keep things simple. i call SDL_WM_ToggleFullScreen to get the app into full screen. everything works fine except - i can't use the CTRL-BACKSPACE key combo on the N900 to switch back out to the task viewer or desktop.

the only way i can get out is to hit the power button at the top which brings down a menu and if i wait a few seconds it then goes back out to the desktop. i can then swap to the task manager and see my app's window.

is there a way to pass the CTRL-BACKSPACE key combination back to the operating system instead of having it trapped by SDL? or is there another way to handle this?

my thoughts now are to have a key in my app that allows the user to toggle between full screen and windowed mode. but ideally i would like my app to run in full screen all the time but still give the flexibility to the user to task out and say respond to an incoming SMS.