diff --git a/dlls/x11drv/xvidmode.c b/dlls/x11drv/xvidmode.c index 581230dd40f..5271784b2f4 100644 --- a/dlls/x11drv/xvidmode.c +++ b/dlls/x11drv/xvidmode.c @@ -118,7 +118,7 @@ void X11DRV_XF86VM_Init(void) /* see if XVidMode is available */ wine_tsx11_lock(); - ok = !XF86VidModeQueryExtension(gdi_display, &xf86vm_event, &xf86vm_error); + ok = XF86VidModeQueryExtension(gdi_display, &xf86vm_event, &xf86vm_error); if (ok) { X11DRV_expect_error(gdi_display, XVidModeErrorHandler, NULL);