summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/w32_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index 9d9812db74..8dcd8a1708 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -458,12 +458,12 @@ static int reinit_window_state(void) {
}
}
- SetWindowLong(vo_window, GWL_STYLE, style);
-
r.left = window_x;
r.right = r.left + vo_dwidth;
r.top = window_y;
r.bottom = r.top + vo_dheight;
+
+ SetWindowLong(vo_window, GWL_STYLE, style);
vo_rect_add_window_borders(&r);
mp_msg(MSGT_VO, MSGL_V, "[vo] reset window bounds: %ld:%ld:%ld:%ld\n",