From 8901ee0b0a8df948b9b308558aeef661b90474ba Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 10 Nov 2005 22:25:54 +0000 Subject: add a switch, slave command, and vo control to toggle borderless window. includes documentation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 1 + input/input.h | 1 + 2 files changed, 2 insertions(+) (limited to 'input') diff --git a/input/input.c b/input/input.c index 11a3b55a9b..7d5bf00ea4 100644 --- a/input/input.c +++ b/input/input.c @@ -108,6 +108,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } }, { MP_CMD_VO_ONTOP, "vo_ontop", 0, { {-1,{0}} } }, { MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {-1,{0}} } }, + { MP_CMD_VO_BORDER, "vo_border", 0, { {-1,{0}} } }, { MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } }, { MP_CMD_PANSCAN, "panscan",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_SWITCH_VSYNC, "switch_vsync", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, diff --git a/input/input.h b/input/input.h index 60c70a6ca1..d27b3e11bf 100644 --- a/input/input.h +++ b/input/input.h @@ -68,6 +68,7 @@ #define MP_CMD_SUB_LOAD 64 #define MP_CMD_SUB_REMOVE 65 #define MP_CMD_KEYDOWN_EVENTS 66 +#define MP_CMD_VO_BORDER 67 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 -- cgit v1.2.3