]> git.sesse.net Git - vlc/blobdiff - src/video_output/window.c
Change configure comments to reflect autoconf logic.
[vlc] / src / video_output / window.c
index c7d099341a5f9a47b0b2acb825b98ca5d21bf892..a783df5ff5f0c820229948f1da2a1cffe7c5586a 100644 (file)
@@ -61,12 +61,13 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
 #ifdef WIN32
     case VOUT_WINDOW_TYPE_HWND:
         type = "vout window hwnd";
+        window->handle.hwnd = NULL;
         break;
 #endif
     case VOUT_WINDOW_TYPE_XID:
         type = "vout window xid";
         window->handle.xid = 0;
-        window->x11_display = NULL;
+        window->display.x11 = NULL;
         break;
     default:
         assert(0);