From 5f5839aadb951ae0e8368f3a044bf580af18445d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 19 May 2026 14:22:02 +0200 Subject: [PATCH] video/out/x11_common: set the source indication to 1 in vo_x11_minimize This was the only call that didn't do this. --- video/out/x11_common.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 53df3f42f2..f1131927a1 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -2061,7 +2061,9 @@ static void vo_x11_minimize(struct vo *vo) if (x11->opts->window_minimized) { XIconifyWindow(x11->display, x11->window, x11->screen); } else { - long params[5] = {0}; + long params[5] = { + 1, // source indication: normal + }; x11_send_ewmh_msg(x11, "_NET_ACTIVE_WINDOW", params); } }