From 0c883fbe038ece55c2ce0fad63b69fe4f44444ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Wed, 1 Apr 2026 15:18:43 +0200 Subject: [PATCH] w32_common: update DWM corners state in when toggling fullscreen Fixes: #17653 --- video/out/w32_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/out/w32_common.c b/video/out/w32_common.c index 5e392698eb..4a4bbd89c4 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1068,6 +1068,7 @@ static void update_maximized_state(struct vo_w32_state *w32) static void window_resize(struct vo_w32_state *w32); static void window_set_pos(struct vo_w32_state *w32, RECT client_rect); +static void update_corners_pref(const struct vo_w32_state *w32); static void update_fullscreen_state(struct vo_w32_state *w32) { @@ -1122,6 +1123,7 @@ static void update_fullscreen_state(struct vo_w32_state *w32) } RECT r = w32->current_fs ? get_screen_area(w32) : w32->windowed_rect; + update_corners_pref(w32); window_set_pos(w32, r); done: