summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorjoey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-10 22:25:54 +0000
committerjoey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-11-10 22:25:54 +0000
commit8901ee0b0a8df948b9b308558aeef661b90474ba (patch)
treea516076dd020d3f3fabf7d31d1692efdf3a8a1cc /input
parent8318fcd06b7e2e94a2ef309f0ae3ed8890adc01d (diff)
downloadmpv-8901ee0b0a8df948b9b308558aeef661b90474ba.tar.bz2
mpv-8901ee0b0a8df948b9b308558aeef661b90474ba.tar.xz
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
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
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