mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 22:20:42 +00:00
winex11.drv: Use #ifdef to check config.h macros.
They are undefined when the feature is missing.
This commit is contained in:
parent
f20b892ed9
commit
57d1bad106
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue