From 8bf93709cbcf9f041cd177e929ff46adce8a6b79 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 13 Aug 2009 10:16:18 +1000 Subject: 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 Acked-by: Oliver McFadden --- src/emuMB.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/emuMB.c') 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; } -- cgit v1.2.3