Yes, I am aware of the video_screen variable. What I was looking for was a way to get a function called when alt-enter is hit. I just re-read the manual for on_f1... and see it passes the scan code as argument. Therefore I should be able to use something like on_enter=my_screenswitch, check for an alt in the scancode and have my game deal with the screen mode switch.

Don