diff options
author | Philip Langdale <philipl@overt.org> | 2019-11-30 10:00:49 +0800 |
---|---|---|
committer | Philip Langdale <github.philipl@overt.org> | 2019-12-01 09:39:51 +0800 |
commit | 61b8e1d436976b0d13805728c4b7f3ccd8061c90 (patch) | |
tree | 9671489932c7a4a9df5b0315fe30b6732fb3e150 /video/out/vo.h | |
parent | 78f1629a539cc14a598831a73c59c3763c074094 (diff) | |
download | mpv-61b8e1d436976b0d13805728c4b7f3ccd8061c90.tar.bz2 mpv-61b8e1d436976b0d13805728c4b7f3ccd8061c90.tar.xz |
wayland: update Maximize and Minimize handling to use new options
I wanted to get this done quickly as I introduced the new VOCTRL
behaviour for minimize and maximize and it was immediately made
legacy, so best to purge it before anyone gets confused.
I did not sort out fullscreen as that's more involved and not something
I've educated myself about yet. But I did replace the VOCTRL_FULLSCREEN
usage with the new option change mechanism as that seemed simple
enough.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 8ff99db07d..94582cd8e5 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -92,8 +92,6 @@ enum mp_voctrl { VOCTRL_ALL_WORKSPACES, VOCTRL_GET_FULLSCREEN, VOCTRL_GET_WIN_STATE, // int* (VO_WIN_STATE_* flags) - VOCTRL_MAXIMIZE, - VOCTRL_MINIMIZE, VOCTRL_UPDATE_WINDOW_TITLE, // char* VOCTRL_UPDATE_PLAYBACK_STATE, // struct voctrl_playback_state* @@ -136,7 +134,6 @@ enum mp_voctrl { // VOCTRL_GET_WIN_STATE (legacy, ignored) #define VO_WIN_STATE_MINIMIZED (1 << 0) -#define VO_WIN_STATE_MAXIMIZED (1 << 1) #define VO_TRUE true #define VO_FALSE false |