Module: wine Branch: master Commit: 9c83e5ccf2f4c9d8662baa85c35f5147ccaae883 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c83e5ccf2f4c9d8662baa85c3...
Author: Chris Morgan chmorgan@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@gmail.com Signed-off-by: Alexandre Julliard julliard@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
/***********************************************************************