diff options
Diffstat (limited to 'src/draglock.c')
-rw-r--r-- | src/draglock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/draglock.c b/src/draglock.c index 414166f..203f25c 100644 --- a/src/draglock.c +++ b/src/draglock.c @@ -152,13 +152,13 @@ void EvdevDragLockLockButton(InputInfoPtr pInfo, unsigned int button) { EvdevPtr pEvdev = (EvdevPtr)pInfo->private; - BOOL state=0; + BOOL state = 0; /* update button state */ state = pEvdev->dragLock.lock_state[button - 1] ? FALSE : TRUE; pEvdev->dragLock.lock_state[button - 1] = state; - xf86PostButtonEvent(pInfo->dev, 0, button, state, 0, 0); + EvdevPostButtonEvent(pInfo, button, state); } /* Filter button presses looking for either a meta button or the |