From febce8cb814df46018f6ae1e6a9daea019b8ad0a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 18 Feb 2011 11:32:28 +1000 Subject: Xi: replace a direct master access with GetMaster() Signed-off-by: Peter Hutterer Reviewed-by: Benjamin Tissoires --- Xi/exevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Xi') diff --git a/Xi/exevents.c b/Xi/exevents.c index ea9daa905..0df65791a 100644 --- a/Xi/exevents.c +++ b/Xi/exevents.c @@ -869,7 +869,7 @@ UpdateDeviceState(DeviceIntPtr device, DeviceEvent* event) * event being delivered through the slave first */ for (sd = inputInfo.devices; sd; sd = sd->next) { - if (IsMaster(sd) || sd->u.master != device) + if (IsMaster(sd) || GetMaster(sd, MASTER_POINTER) != device) continue; if (!sd->button) continue; -- cgit v1.2.3