Commit 57d1bad1 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

They are undefined when the feature is missing.
parent f20b892e
...@@ -371,7 +371,7 @@ static void disable_xinput2(void) ...@@ -371,7 +371,7 @@ static void disable_xinput2(void)
*/ */
static BOOL grab_clipping_window( const RECT *clip ) 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}; static const WCHAR messageW[] = {'M','e','s','s','a','g','e',0};
struct x11drv_thread_data *data = x11drv_thread_data(); struct x11drv_thread_data *data = x11drv_thread_data();
UNICODE_STRING class_name; UNICODE_STRING class_name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment