Comment 2 for bug 1370953

A very bad (but still better than what we have now) workaround would be to lock keyboard immidiately after layout switch combo is pressed and unlock it once the layout actually switched.

This way user won't have wrong letters typed. He won't have right letters typed either, but that will make him retry typing, not retry switching layouts (thus extending the pain).