[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43506] trunk/blender/intern/ghost/intern/ GHOST_SystemX11.cpp: allow building without xinput again

Campbell Barton ideasman42 at gmail.com
Wed Jan 18 23:32:38 CET 2012


Revision: 43506
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43506
Author:   campbellbarton
Date:     2012-01-18 22:32:33 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
allow building without xinput again

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemX11.cpp

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemX11.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemX11.cpp	2012-01-18 21:38:33 UTC (rev 43505)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemX11.cpp	2012-01-18 22:32:33 UTC (rev 43506)
@@ -422,6 +422,8 @@
 	return anyProcessed;
 }
 
+
+#ifdef WITH_X11_XINPUT
 /* set currently using tablet mode (stylus or eraser) depending on device ID */
 static void setTabletMode(GHOST_WindowX11 * window, XID deviceid)
 {
@@ -430,6 +432,7 @@
 	else if(deviceid == window->GetXTablet().EraserID)
 		window->GetXTablet().CommonData.Active= GHOST_kTabletModeEraser;
 }
+#endif /* WITH_X11_XINPUT */
 
 	void
 GHOST_SystemX11::processEvent(XEvent *xe)



More information about the Bf-blender-cvs mailing list