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
diff options
context:
space:
mode:
authorDamien Plisson <damien.plisson@yahoo.fr>2009-11-18 19:54:33 +0300
committerDamien Plisson <damien.plisson@yahoo.fr>2009-11-18 19:54:33 +0300
commit1f3ab7afd4cc29c9211ce6147f1013ddba0d78fa (patch)
treeceec9fa1f90151ab712203777c8caa18d47075c3 /source/blender/windowmanager/intern/wm_cursors.c
parent5a4045ad7dbb2cd2fe738b8999309d643b3a3ead (diff)
Disable continuous grab during tablet use (fixing tablet jerkiness issues)
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
-rw-r--r--source/blender/windowmanager/intern/wm_cursors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_cursors.c b/source/blender/windowmanager/intern/wm_cursors.c
index df483f9013e..9a8c3db0987 100644
--- a/source/blender/windowmanager/intern/wm_cursors.c
+++ b/source/blender/windowmanager/intern/wm_cursors.c
@@ -174,7 +174,7 @@ void WM_cursor_grab(wmWindow *win, int wrap, int hide, int *bounds)
else if(wrap) mode = GHOST_kGrabWrap;
if ((G.f & G_DEBUG) == 0)
- if(win)
+ if(win && (GHOST_GetTabletData(win->ghostwin)->Active == GHOST_kTabletModeNone))
GHOST_SetCursorGrab(win->ghostwin, mode, bounds);
}