dix: rename dixLookupClient() to dixLookupResourceOwner()

Choose a bit more precise / descriptive name for that function.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-04-17 14:58:30 +02:00
parent a48b83b9a2
commit 7501ca09b9
10 changed files with 12 additions and 12 deletions

View File

@@ -218,7 +218,7 @@ if build_xorg
unit_includes += [include_directories('xi1', 'xi2')]
ldwraps = [
'-Wl,-wrap,dixLookupWindow',
'-Wl,-wrap,dixLookupClient',
'-Wl,-wrap,dixLookupResourceOwner',
'-Wl,-wrap,WriteToClient',
'-Wl,-wrap,dixLookupWindow',
'-Wl,-wrap,XISetEventMask',

View File

@@ -332,7 +332,7 @@ WRAP_FUNCTION(dixLookupWindow, int,
extern ClientRec client_window;
WRAP_FUNCTION(dixLookupClient, int,
WRAP_FUNCTION(dixLookupResourceOwner, int,
ClientPtr *pClient, XID rid, ClientPtr client, Mask access)
{
if (rid == ROOT_WINDOW_ID)
@@ -343,5 +343,5 @@ WRAP_FUNCTION(dixLookupClient, int,
return Success;
}
return __real_dixLookupClient(pClient, rid, client, access);
return __real_dixLookupResourceOwner(pClient, rid, client, access);
}