diff options
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 5418eac285..6b6ea84251 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -262,7 +262,7 @@ static uint32_t config( uint32_t width,uint32_t height,uint32_t d_width,uint32_t depth = vo_find_depth_from_visuals(mDisplay, mScreen, &visual); } if ( !XMatchVisualInfo( mDisplay,mScreen,depth,DirectColor,&vinfo ) || - WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual)) + (WinID > 0 && vinfo.visualid != XVisualIDFromVisual(attribs.visual))) XMatchVisualInfo( mDisplay,mScreen,depth,TrueColor,&vinfo ); /* set image size (which is indeed neither the input nor output size), |