summaryrefslogtreecommitdiff
path: root/src/draglock.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-13 10:16:18 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-13 14:36:46 +1000
commit8bf93709cbcf9f041cd177e929ff46adce8a6b79 (patch)
tree6f6e000dbe2dd092d057eb09fe5580e71548e179 /src/draglock.c
parent37373a223b2aeef7041c9c0bb99be613789a3125 (diff)
Rename parts of the Post API to a Queue API.
Button and key events aren't posted from EvdevPost*Event, they are simply enqueued onto the evdev-internal event queue until the next EV_SYN arrives. Rename those interfaces from EvdevPost* to EvdevQueue* and leave only those that actually post to the server with a matching "*Post*" name. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Oliver McFadden <oliver.mcfadden@nokia.com>
Diffstat (limited to 'src/draglock.c')
-rw-r--r--src/draglock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draglock.c b/src/draglock.c
index d89e979..a8bf079 100644
--- a/src/draglock.c
+++ b/src/draglock.c
@@ -158,7 +158,7 @@ EvdevDragLockLockButton(InputInfoPtr pInfo, unsigned int button)
state = pEvdev->dragLock.lock_state[button - 1] ? FALSE : TRUE;
pEvdev->dragLock.lock_state[button - 1] = state;
- EvdevPostButtonEvent(pInfo, button, state);
+ EvdevQueueButtonEvent(pInfo, button, state);
}
/* Filter button presses looking for either a meta button or the