aboutsummaryrefslogtreecommitdiff
path: root/src/emuMB.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/emuMB.c
parentcomment typo fix (diff)
downloadxf86-input-evdev-8bf93709cbcf9f041cd177e929ff46adce8a6b79.tar.gz
xf86-input-evdev-8bf93709cbcf9f041cd177e929ff46adce8a6b79.tar.bz2
xf86-input-evdev-8bf93709cbcf9f041cd177e929ff46adce8a6b79.zip
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/emuMB.c')
-rw-r--r--src/emuMB.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emuMB.c b/src/emuMB.c
index dc689b6..ac763cd 100644
--- a/src/emuMB.c
+++ b/src/emuMB.c
@@ -198,7 +198,7 @@ EvdevMBEmuTimer(InputInfoPtr pInfo)
pEvdev->emulateMB.pending = FALSE;
if ((id = stateTab[pEvdev->emulateMB.state][4][0]) != 0) {
- EvdevPostButtonEvent(pInfo, abs(id), (id >= 0));
+ EvdevQueueButtonEvent(pInfo, abs(id), (id >= 0));
pEvdev->emulateMB.state =
stateTab[pEvdev->emulateMB.state][4][2];
} else {
@@ -248,12 +248,12 @@ EvdevMBEmuFilterEvent(InputInfoPtr pInfo, int button, BOOL press)
if ((id = stateTab[pEvdev->emulateMB.state][*btstate][0]) != 0)
{
- EvdevPostButtonEvent(pInfo, abs(id), (id >= 0));
+ EvdevQueueButtonEvent(pInfo, abs(id), (id >= 0));
ret = TRUE;
}
if ((id = stateTab[pEvdev->emulateMB.state][*btstate][1]) != 0)
{
- EvdevPostButtonEvent(pInfo, abs(id), (id >= 0));
+ EvdevQueueButtonEvent(pInfo, abs(id), (id >= 0));
ret = TRUE;
}