From 83aab1d4be67fceb8c0cd27297cca086f1a9c3c5 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Wed, 5 Nov 2014 15:58:24 -0800 Subject: 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. --- video/out/x11_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/x11_common.h') 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 { -- cgit v1.2.3