fix for using special keys for global shortcuts in X11
Merge pull request #4141 from abika/master

fix for using special keys for global shortcuts in X11