mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
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:
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user