winex11.drv: Use #ifdef to check config.h macros.

They are undefined when the feature is missing.
This commit is contained in:
Francois Gouget 2022-08-25 12:11:27 +02:00 committed by Alexandre Julliard
parent f20b892ed9
commit 57d1bad106

View file

@ -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;