diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-06-02 17:39:05 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-06-03 22:31:13 +0200 |
commit | f13f0db33a18040e660b6ed76ad43d1870f096a2 (patch) | |
tree | 5eb21b606796f0bcd984dd0252666307883c4c49 /Makefile | |
parent | 63e2a21c644dad53f5fc256a2d00aef6b171f17c (diff) | |
download | mpv-f13f0db33a18040e660b6ed76ad43d1870f096a2.tar.bz2 mpv-f13f0db33a18040e660b6ed76ad43d1870f096a2.tar.xz |
osx: create macosx_events to deal with keyDown events
On OSX with Cocoa enabled keyDown events are now handled with
addLocalMonitorForEventsMatchingMask:handler:. This allows to respond to
events even when there is no VO initialized but the GUI is focused.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -46,9 +46,9 @@ SOURCES-$(LIBPOSTPROC) += video/filter/vf_pp.c SOURCES-$(LIBSMBCLIENT) += stream/stream_smb.c SOURCES-$(MACOSX_BUNDLE) += osdep/macosx_bundle.m -SOURCES-$(COCOA) += video/out/osx_common.c \ - video/out/cocoa_common.m \ - osdep/macosx_application.m +SOURCES-$(COCOA) += video/out/cocoa_common.m \ + osdep/macosx_application.m \ + osdep/macosx_events.m SOURCES-$(MNG) += demux/demux_mng.c SOURCES-$(MPG123) += audio/decode/ad_mpg123.c |