]> git.sesse.net Git - vlc/commitdiff
vout_macosx: always set forced window size for the window provider
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Thu, 24 Apr 2014 18:46:56 +0000 (20:46 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Thu, 24 Apr 2014 19:03:17 +0000 (21:03 +0200)
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)

modules/video_output/macosx.m

index 69e2788fb660a342d1f443a1d9ad882a98b24162..01392045e8e911af0a1fae7f02c531ff7173d35f 100644 (file)
@@ -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
-                && (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)) {
                 [o_pool release];
                 return VLC_EGENERIC;