Fix copypaste error in x11 tablet init

This commit is contained in:
Campbell Barton 2015-02-03 16:37:37 +11:00
parent 75249259f4
commit 27cfd291c6
1 changed files with 1 additions and 1 deletions

View File

@ -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;