diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-05 15:58:24 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-07 01:14:03 -0800 |
commit | 83aab1d4be67fceb8c0cd27297cca086f1a9c3c5 (patch) | |
tree | d4a891eeda04b79074e2f911c041702f2bc371e4 /video/out/x11_common.h | |
parent | c920a3920e34fe7b1e501bf8a513ab2a23769af6 (diff) | |
download | mpv-83aab1d4be67fceb8c0cd27297cca086f1a9c3c5.tar.bz2 mpv-83aab1d4be67fceb8c0cd27297cca086f1a9c3c5.tar.xz |
vo/x11: implement VOCTRL_GET_DISPLAY_NAMES with xrandr names (e.g., "LVDS1")
XRRGetOutputInfo contains a "name" element which corresponds to to the
display names given to the user by the "xrandr" command line
utility. Copy it into the xrandr_display struct for each display.
On VOCTRL_GET_DISPLAY_NAMES, send a copy of the names
of the displays spanned by the mpv window on.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h index 34fa1ff07a..9d14cae33c 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -34,6 +34,7 @@ struct mp_log; struct xrandr_display { struct mp_rect rc; double fps; + char *name; }; struct vo_x11_state { |