I’m having trouble when I press the F10 key. I get the pressed event, but
then my app looses focus with the window’s system menu now active.
I have to press to get focus back into the window. I then get
the release event. All the other function keys work fine. Any
ideas how to make F10 key work like the other function keys?
This is due to the window manager interpreting keyboard input before its
passed onto SDL. Try calling SDL_GrabInput(SDL_GRAB_ON);On Wed, Jan 17, 2001 at 02:55:38PM -0500, aking at dreammechanics.com wrote:
I’m having trouble when I press the F10 key. I get the pressed event, but
then my app looses focus with the window’s system menu now active.
I have to press to get focus back into the window. I then get
the release event. All the other function keys work fine. Any
ideas how to make F10 key work like the other function keys?