diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-26 13:13:48 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-26 13:13:48 +0000 |
commit | b6870cc5ba1c9b43307af26f47ed5bc0c2d5c7de (patch) | |
tree | ad3f2ccc5feb5f6dcff877f6e3e8ab0e1e5d8ffb /input/input.h | |
parent | 2b517dc714c02f654d032e9d68815281a613cafa (diff) | |
download | mpv-b6870cc5ba1c9b43307af26f47ed5bc0c2d5c7de.tar.bz2 mpv-b6870cc5ba1c9b43307af26f47ed5bc0c2d5c7de.tar.xz |
From now on, libmenu does not steal all input keys from input modules.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25530 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.h')
-rw-r--r-- | input/input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.h b/input/input.h index 780a5d1d88..f07d9142ea 100644 --- a/input/input.h +++ b/input/input.h @@ -207,7 +207,7 @@ typedef int (*mp_cmd_func_t)(int fd,char* dest,int size); typedef void (*mp_close_func_t)(int fd); // Set this to grab all incoming key codes -extern void (*mp_input_key_cb)(int code); +extern int (*mp_input_key_cb)(int code); // Should return 1 if the command was processed typedef int (*mp_input_cmd_filter)(mp_cmd_t* cmd, int paused, void* ctx); |