summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 08ca1219a1..a02412a8ea 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -126,10 +126,14 @@ enum mp_voctrl {
/* private to vo_gpu */
VOCTRL_EXTERNAL_RESIZE,
+
+ VOCTRL_MAXIMIZE,
+ VOCTRL_MINIMIZE,
};
// VOCTRL_GET_WIN_STATE
-#define VO_WIN_STATE_MINIMIZED 1
+#define VO_WIN_STATE_MINIMIZED (1 << 0)
+#define VO_WIN_STATE_MAXIMIZED (1 << 1)
#define VO_TRUE true
#define VO_FALSE false