summaryrefslogtreecommitdiffstats
path: root/osdep/cocoa_events.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-02-02 14:20:24 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-02-02 14:36:05 +0100
commit68fa3c49db720645da2c653a8c8f9d92c0d6815f (patch)
tree9d21faf56a6aa83eeecbad96a939a98c6293dd5a /osdep/cocoa_events.h
parent6e4a45476f72ad211dccfa6eb8b7657322846953 (diff)
downloadmpv-68fa3c49db720645da2c653a8c8f9d92c0d6815f.tar.bz2
mpv-68fa3c49db720645da2c653a8c8f9d92c0d6815f.tar.xz
cocoa_events: remove this functionality
This functionality looked smart but created problems with some kinds of multi touch events. Moreover some events coming from the windows server – like hovering a corner for window resize – didn't cause the player to wake up immediately. The "correct" non hacky way to implement async event polling with cocoa would be having the vanilla cocoa event loop driving the player and setting up mpv's terminal FDs as event sources for the cocoa event loop. Fixes #20
Diffstat (limited to 'osdep/cocoa_events.h')
-rw-r--r--osdep/cocoa_events.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/osdep/cocoa_events.h b/osdep/cocoa_events.h
deleted file mode 100644
index 99f761e244..0000000000
--- a/osdep/cocoa_events.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Cocoa Event Handling
- *
- * This file is part of mplayer2.
- *
- * mplayer2 is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * mplayer2 is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with mplayer2. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef MPLAYER_COCOA_EVENTS_H
-#define MPLAYER_COCOA_EVENTS_H
-
-#include "core/input/input.h"
-
-void cocoa_events_init(struct input_ctx *ictx,
- void (*read_all_fd_events)(struct input_ctx *ictx, int time));
-void cocoa_events_uninit(void);
-void cocoa_events_read_all_events(struct input_ctx *ictx, int time);
-
-#endif /* MPLAYER_COCOA_EVENTS_H */