mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Xi: replace a direct master access with GetMaster()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <tissoire@cena.fr>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user