summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-10 11:55:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-12 11:03:29 +1000
commit7f1ba804a1c1aef725e20a04e5f6ef74478ecf44 (patch)
tree1c2983d230dd3d3d3b43d116f991a895b717c71c /dix
parent067f26f7ba4c8cf37af7ddf0eb204b7e1d06096d (diff)
dix: s/numEvents/num_events/ in GetKeyboardValuatorEvents
GPE and GProxE use the same. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix')
-rw-r--r--dix/getevents.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dix/getevents.c b/dix/getevents.c
index f7306c14c..0a8116530 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -779,7 +779,7 @@ int
GetKeyboardValuatorEvents(EventList *events, DeviceIntPtr pDev, int type,
int key_code, int first_valuator,
int num_valuators, int *valuators) {
- int numEvents = 0;
+ int num_events = 0;
CARD32 ms = 0;
DeviceEvent *event;
@@ -788,9 +788,9 @@ GetKeyboardValuatorEvents(EventList *events, DeviceIntPtr pDev, int type,
(key_code < 8 || key_code > 255))
return 0;
- numEvents = 1;
+ num_events = 1;
- events = updateFromMaster(events, pDev, &numEvents);
+ events = updateFromMaster(events, pDev, &num_events);
/* Handle core repeating, via press/release/press/release. */
if (type == KeyPress && key_is_down(pDev, key_code, KEY_POSTED)) {
@@ -825,7 +825,7 @@ GetKeyboardValuatorEvents(EventList *events, DeviceIntPtr pDev, int type,
set_valuators(pDev, event, first_valuator, num_valuators, valuators);
- return numEvents;
+ return num_events;
}
/**