From 9e7b954ed02ca54a0225924eab207945b296bed0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 16 Jan 2013 22:00:03 +0000 Subject: [PATCH] fix for GHOST/X11 using uninitialized memory for the tablets active state. (possible cause of reported glitches in tablet use). --- intern/ghost/intern/GHOST_WindowX11.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 621fdfd7505..fec43b558e6 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -456,6 +456,8 @@ GHOST_WindowX11( #ifdef WITH_X11_XINPUT initXInputDevices(); + + m_tabletData.Active = GHOST_kTabletModeNone; #endif /* now set up the rendering context. */