diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-05-27 11:43:50 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-08 13:56:59 +1000 |
commit | 58e4831ed68c2fbc219c7250e9837e76a73a6432 (patch) | |
tree | df4dac3649ea448e1f3ae57f87a4a2bbed8b6560 /dix | |
parent | 37a53f15b0dfa1b25f7e3e826c7c945453398ac5 (diff) |
dix: rename DeliverEventsToClients to DeliverEventsToWindowMask
To avoid confusion with a future patch and it better describes what this
does anyway - delivering events to all clients that have the event mask on
the window.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/events.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dix/events.c b/dix/events.c index 20754f0c5..66fbe9a47 100644 --- a/dix/events.c +++ b/dix/events.c @@ -2083,9 +2083,9 @@ out: * mask for this event. */ static enum EventDeliveryState -DeliverEventToClients(DeviceIntPtr dev, WindowPtr win, xEvent *events, - int count, Mask filter, GrabPtr grab, - ClientPtr *client_return, Mask *mask_return) +DeliverEventToWindowMask(DeviceIntPtr dev, WindowPtr win, xEvent *events, + int count, Mask filter, GrabPtr grab, + ClientPtr *client_return, Mask *mask_return) { int attempt; enum EventDeliveryState rc = EVENT_SKIP; @@ -2192,8 +2192,8 @@ DeliverEventsToWindow(DeviceIntPtr pDev, WindowPtr pWin, xEvent { enum EventDeliveryState rc; - rc = DeliverEventToClients(pDev, pWin, pEvents, count, filter, grab, - &client, &deliveryMask); + rc = DeliverEventToWindowMask(pDev, pWin, pEvents, count, filter, + grab, &client, &deliveryMask); switch(rc) { |