summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 9823570d11..75d36e15ab 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -1491,6 +1491,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)