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:
authorBastien Montagne <montagne29@wanadoo.fr>2015-02-13 12:52:30 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-02-13 12:57:26 +0300
commite63594a6e5d5e00f397bafa75dc234f1a1733a7a (patch)
tree72b480e58001c05914ffc6939aab91b57191e9ff /intern/ghost/intern/GHOST_SystemX11.h
parent46151a6a69aa7461fbfd03561aea2cfd5eecbc61 (diff)
Fix again tablets with linux!
Yes, for me tablets (both wacom and no-name) were again broken - curse X11! So now, we want ButtonPress, Button1Motion does not work anymore... Anyway, this patch makes things much cleaner, storing each event type in its own variable! Patch by cedricp (Cédric PAILLE) from T43367, thanks a bunch!
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemX11.h')
-rw-r--r--intern/ghost/intern/GHOST_SystemX11.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_SystemX11.h b/intern/ghost/intern/GHOST_SystemX11.h
index bc35b6c6026..378f07dd0bd 100644
--- a/intern/ghost/intern/GHOST_SystemX11.h
+++ b/intern/ghost/intern/GHOST_SystemX11.h
@@ -286,6 +286,12 @@ public:
int MotionEvent;
int ProxInEvent;
int ProxOutEvent;
+ int PressEvent;
+
+ int MotionEventEraser;
+ int ProxInEventEraser;
+ int ProxOutEventEraser;
+ int PressEventEraser;
int PressureLevels;
int XtiltLevels, YtiltLevels;