bugfix for shift modifier setting in xwin-grab-keys.

These are the same functional changes as pull request #34, but with less whitespace changed.