Module: wine Branch: master Commit: 57d1bad10615b3c283d50a30775de8b7a8e92af2 URL: https://gitlab.winehq.org/wine/wine/-/commit/57d1bad10615b3c283d50a30775de8b...
Author: Francois Gouget fgouget@free.fr Date: Thu Aug 25 12:11:27 2022 +0200
winex11.drv: Use #ifdef to check config.h macros.
They are undefined when the feature is missing.
---
dlls/winex11.drv/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index d0cc185d96c..96be81df6e3 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -371,7 +371,7 @@ static void disable_xinput2(void) */ static BOOL grab_clipping_window( const RECT *clip ) { -#if HAVE_X11_EXTENSIONS_XINPUT2_H +#ifdef HAVE_X11_EXTENSIONS_XINPUT2_H static const WCHAR messageW[] = {'M','e','s','s','a','g','e',0}; struct x11drv_thread_data *data = x11drv_thread_data(); UNICODE_STRING class_name;