Fix shift modifier not working for window menu on Linux

To solve #2190 
I forget to handle shift modifier on Linux, this PR is to fix it.