diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-16 15:13:41 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-16 15:13:41 +0000 |
commit | 2003857aa2bb32f24f72561374569dd2a2132cc2 (patch) | |
tree | 6f1d8d1bc45e988f9a904f871a6e7ca5fa597541 /input/input.c | |
parent | 8bab2f0d70e1e1d3c368618c5b5a9c98925217b4 (diff) | |
download | mpv-2003857aa2bb32f24f72561374569dd2a2132cc2.tar.bz2 mpv-2003857aa2bb32f24f72561374569dd2a2132cc2.tar.xz |
report to mplayer with a slave command the coordinates of the pointer reported by x11; rescale coordinates to [0,1]x[0,1] range - patch by Jonas Jermann and me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19856 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index 5fe3c96eb0..528c50445a 100644 --- a/input/input.c +++ b/input/input.c @@ -167,6 +167,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_GET_PROPERTY, "get_property", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, { MP_CMD_SEEK_CHAPTER, "seek_chapter", 1, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, + { MP_CMD_SET_MOUSE_POS, "set_mouse_pos", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { 0, NULL, 0, {} } }; |