1.1 --- a/src/video/x11/SDL_x11events.c Mon May 20 12:01:31 2013 -0700
1.2 +++ b/src/video/x11/SDL_x11events.c Mon May 20 12:25:16 2013 -0700
1.3 @@ -356,7 +356,13 @@
1.4 /* We want to reset the keyboard here, because we may have
1.5 missed keyboard messages after our previous FocusOut.
1.6 */
1.7 - SDL_ResetKeyboard();
1.8 + /* Actually, if we do this we clear the ALT key on Unity
1.9 + because it briefly takes focus for their dashboard.
1.10 +
1.11 + I think it's better to think the ALT key is held down
1.12 + when it's not, then always lose the ALT modifier on Unity.
1.13 + */
1.14 + /*SDL_ResetKeyboard();*/
1.15 }
1.16 data->pending_focus = PENDING_FOCUS_IN;
1.17 data->pending_focus_time = SDL_GetTicks() + PENDING_FOCUS_IN_TIME;