Lines Matching defs:others
1572 InputClientsPtr others;
1582 for (others = wOtherInputMasks(pWin)->inputClients; others;
1583 others = others->next) {
1584 if (!SameClient(others, client) && (check &
1585 others->mask[mskidx]))
1589 for (others = wOtherInputMasks(pWin)->inputClients; others;
1590 others = others->next) {
1591 if (SameClient(others, client)) {
1592 check = others->mask[mskidx];
1593 others->mask[mskidx] = mask;
1596 if (i != mskidx && others->mask[i] != 0)
1601 FreeResource(others->resource, RT_NONE);
1625 InputClientsPtr others;
1629 others = calloc(1, sizeof(InputClients));
1630 if (!others)
1634 others->mask[mskidx] = mask;
1635 others->resource = FakeClientID(client->index);
1636 others->next = pWin->optional->inputMasks->inputClients;
1637 pWin->optional->inputMasks->inputClients = others;
1638 if (!AddResource(others->resource, RT_INPUTCLIENT, (pointer) pWin))
1643 free(others);
1662 InputClientsPtr others;
1672 for (others = inputMasks->inputClients; others;
1673 others = others->next) {
1675 inputMasks->inputEvents[i] |= others->mask[i];
1678 inputMasks->xi2mask[i][j] |= others->xi2mask[i][j];
2148 InputClientsPtr others = NULL;
2153 for (others = wOtherInputMasks(win)->inputClients; others;
2154 others = others->next) {
2155 if (SameClient(others, client)) {
2156 memset(others->xi2mask[dev->id], 0,
2157 sizeof(others->xi2mask[dev->id]));
2163 len = min(len, sizeof(others->xi2mask[dev->id]));
2165 if (len && !others)
2169 others= wOtherInputMasks(win)->inputClients;
2172 if (others)
2173 memset(others->xi2mask[dev->id], 0, sizeof(others->xi2mask[dev->id]));
2176 memcpy(others->xi2mask[dev->id], mask, len);