Chris Morgan : winex11: Wrap XInput2 dependent functions with appropriate #ifdef.
Alexandre Julliard
julliard at winehq.org
Mon Feb 27 15:12:09 CST 2017
Module: wine
Branch: master
Commit: 9c83e5ccf2f4c9d8662baa85c35f5147ccaae883
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c83e5ccf2f4c9d8662baa85c35f5147ccaae883
Author: Chris Morgan <chmorgan at gmail.com>
Date: Fri Feb 24 08:06:52 2017 -0500
winex11: Wrap XInput2 dependent functions with appropriate #ifdef.
Signed-off-by: Chris Morgan <chmorgan at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winex11.drv/mouse.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c
index 6027a6e..259263d 100644
--- a/dlls/winex11.drv/mouse.c
+++ b/dlls/winex11.drv/mouse.c
@@ -246,6 +246,7 @@ void sync_window_cursor( Window window )
set_window_cursor( window, cursor );
}
+#ifdef HAVE_X11_EXTENSIONS_XINPUT2_H
/***********************************************************************
* update_relative_valuators
*/
@@ -281,6 +282,7 @@ static void update_relative_valuators(XIAnyClassInfo **valuators, int n_valuator
}
}
}
+#endif
/***********************************************************************
More information about the wine-cvs
mailing list