]> git.sesse.net Git - vlc/blobdiff - modules/video_output/xcb/xvideo.c
Updated vou display module after vout_display_SendEventDisplaySize change.
[vlc] / modules / video_output / xcb / xvideo.c
index 6069d0dfe14298d10594b0d44151dc3e404ea982..a418d57e366c3ed8720116265aefacf168bedd3a 100644 (file)
@@ -492,10 +492,10 @@ static int Open (vlc_object_t *obj)
     vd->manage = Manage;
 
     /* */
+    vout_display_SendEventFullscreen (vd, false);
     unsigned width, height;
     if (!GetWindowSize (p_sys->embed, conn, &width, &height))
-        vout_display_SendEventDisplaySize (vd, width, height);
-    vout_display_SendEventFullscreen (vd, false);
+        vout_display_SendEventDisplaySize (vd, width, height, false);
 
     return VLC_SUCCESS;