From 57829ed95a8c22f575b875b3cbe55bd08567765e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 3 Jan 2015 03:06:26 +0100 Subject: x11: make display-names property observable Reuse MP_EVENT_WIN_STATE for this. --- video/out/x11_common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 2997b6f8df..5164db06c2 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -1492,6 +1492,8 @@ static void vo_x11_update_geometry(struct vo *vo) if (fps != x11->current_display_fps) MP_VERBOSE(x11, "Current display FPS: %f\n", fps); x11->current_display_fps = fps; + // might have changed displays + x11->pending_vo_events |= VO_EVENT_WIN_STATE; } static void vo_x11_fullscreen(struct vo *vo) -- cgit v1.2.3