diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-03 08:37:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-03 08:37:37 +0300 |
commit | 27cfd291c6159285122f45219d78a2e4275a0429 (patch) | |
tree | 8512d940f2571011418698a221fca814b8cc83f5 /intern/ghost | |
parent | 75249259f4f6ec9c514d355f00899d7bf427ebf7 (diff) |
Fix copypaste error in x11 tablet init
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 9c3392b11bd..5e2a881dd17 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -591,7 +591,7 @@ void GHOST_WindowX11::initXInputDevices() if (xtablet.EraserDevice) { DeviceMotionNotify(xtablet.EraserDevice, xtablet.MotionEvent, ev); if (ev) xevents[dcount++] = ev; - DeviceButton1Motion(xtablet.StylusDevice, xtablet.MotionEvent, ev); + DeviceButton1Motion(xtablet.EraserDevice, xtablet.MotionEvent, ev); if (ev) xevents[dcount++] = ev; ProximityIn(xtablet.EraserDevice, xtablet.ProxInEvent, ev); if (ev) xevents[dcount++] = ev; |