mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
record: use NULL instead of NullClient
No need to have another name for NULL, we can use NULL directly. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
bdf867ba60
commit
ad86b5b6ae
@@ -1226,7 +1226,7 @@ RecordCanonicalizeClientSpecifiers(XID *pClientspecs, int *pNumClientspecs,
|
||||
for (nc = 0, j = 1; j < currentMaxClients; j++) {
|
||||
ClientPtr client = clients[j];
|
||||
|
||||
if (client != NullClient &&
|
||||
if (client != NULL &&
|
||||
client->clientState == ClientStateRunning &&
|
||||
client->clientAsMask != excludespec) {
|
||||
pCanon[nc++] = client->clientAsMask;
|
||||
|
||||
Reference in New Issue
Block a user