dix: remove some superfluous lines in ProcChangeActivePointerGrab.

This commit is contained in:
Peter Hutterer 2008-01-18 20:11:55 +10:30
parent 8a925d201e
commit cd2ad4c2ed

View File

@ -5265,16 +5265,11 @@ ProcChangeActivePointerGrab(ClientPtr client)
if (grab && grab->coreGrab && SameClient(grab, client))
{
device = grabbed;
grab = device->deviceGrab.grab;
break;
}
}
}
/* nope. no grab on any actual device */
if (!grabbed)
{
device = inputInfo.pointer;
grab = inputInfo.pointer->deviceGrab.grab;
}
}
if (!grab)