Commit 9671dce4 authored by David Fuhrmann's avatar David Fuhrmann

vout_macosx: always set forced window size for the window provider

Also fixes bug for retina displays where events got missed because
stored value is the pixel value, but new one is the point value.
(close #10743)
parent 6f3abd5c
...@@ -366,8 +366,6 @@ static int Control (vout_display_t *vd, int query, va_list ap) ...@@ -366,8 +366,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
} }
if (query == VOUT_DISPLAY_CHANGE_DISPLAY_SIZE && is_forced if (query == VOUT_DISPLAY_CHANGE_DISPLAY_SIZE && is_forced
&& (cfg->display.width != vd->cfg->display.width
|| cfg->display.height != vd->cfg->display.height)
&& vout_window_SetSize (sys->embed, cfg->display.width, cfg->display.height)) { && vout_window_SetSize (sys->embed, cfg->display.width, cfg->display.height)) {
[o_pool release]; [o_pool release];
return VLC_EGENERIC; return VLC_EGENERIC;
......
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