Commit ad58279c authored by Felix Abecassis's avatar Felix Abecassis Committed by Jean-Baptiste Kempf

Win32: return a failure when a CHANGE_DISPLAY_SIZE event is forced

See x11.c for rationale.

Close #9273
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1b9ac1d3
...@@ -588,6 +588,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args) ...@@ -588,6 +588,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
rect_window.right - rect_window.left, rect_window.right - rect_window.left,
rect_window.bottom - rect_window.top, SWP_NOMOVE); rect_window.bottom - rect_window.top, SWP_NOMOVE);
} }
return VLC_EGENERIC;
} }
UpdateRects(vd, cfg, source, is_forced); UpdateRects(vd, cfg, source, is_forced);
return VLC_SUCCESS; return VLC_SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment