Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-17 02:00:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-17 02:00:03 +0400
commit9e7b954ed02ca54a0225924eab207945b296bed0 (patch)
treefd3f1aa26aacd4df37b6c6b4cfa8edd2b3ae195e /intern
parent5ddc7d64a85d6e01e7eae1ed904bda635478a24e (diff)
fix for GHOST/X11 using uninitialized memory for the tablets active state. (possible cause of reported glitches in tablet use).
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_WindowX11.cpp2
1 files changed, 2 insertions, 0 deletions
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. */