fix for GHOST/X11 using uninitialized memory for the tablets active state. (possible...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 16 Jan 2013 22:00:03 +0000 (22:00 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 16 Jan 2013 22:00:03 +0000 (22:00 +0000)
intern/ghost/intern/GHOST_WindowX11.cpp

index 621fdfd..fec43b5 100644 (file)
@@ -456,6 +456,8 @@ GHOST_WindowX11(
 
 #ifdef WITH_X11_XINPUT
        initXInputDevices();
+
+       m_tabletData.Active = GHOST_kTabletModeNone;
 #endif
 
        /* now set up the rendering context. */