summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2014-01-14 22:27:42 +1100
committerwm4 <wm4@nowhere>2014-01-15 13:32:25 +0100
commit4276e9443db53bca0306730cdd5a438c7146b738 (patch)
treea35c83cc45970b5ff293c1eeedce7332686c7cd7 /common
parent8255400e9cb93a6fc3914b856d8a03408f2325fa (diff)
downloadmpv-4276e9443db53bca0306730cdd5a438c7146b738.tar.bz2
mpv-4276e9443db53bca0306730cdd5a438c7146b738.tar.xz
w32_common: prevent decoding certain keys twice
This is a bit of a hack, but in order to prevent TranslateMessage from seeing WM_KEYDOWN messages that we already know how to decode, move the decoding logic to the event loop. This should fix #476, since it stops the generation of extraneous WM_CHAR messages that were triggering more than one action on keydown.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions