Correct handling of multimedia key presses
Merge pull request #2039 from jhsrennie/master

Correct handling of multimedia keypresses