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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index d76329ffeb..5dbdc3fa89 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -43,9 +43,12 @@ enum {
VO_EVENT_AMBIENT_LIGHTING_CHANGED = 1 << 4,
// Special mechanism for making resizing with Cocoa react faster
VO_EVENT_LIVE_RESIZING = 1 << 5,
+ // Window fullscreen state changed via external influence.
+ VO_EVENT_FULLSCREEN_STATE = 1 << 6,
// Set of events the player core may be interested in.
- VO_EVENTS_USER = (VO_EVENT_RESIZE | VO_EVENT_WIN_STATE),
+ VO_EVENTS_USER = VO_EVENT_RESIZE | VO_EVENT_WIN_STATE |
+ VO_EVENT_FULLSCREEN_STATE,
};
enum mp_voctrl {
@@ -75,6 +78,8 @@ enum mp_voctrl {
VOCTRL_BORDER,
VOCTRL_ALL_WORKSPACES,
+ VOCTRL_GET_FULLSCREEN,
+
VOCTRL_UPDATE_WINDOW_TITLE, // char*
VOCTRL_UPDATE_PLAYBACK_STATE, // struct voctrl_playback_state*