mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-29 02:31:18 +00:00
dix: change GetEventList to return length of list and set parameter in place.
Changing DDXs to use new prototype too.
This commit is contained in:
parent
77dba004a9
commit
74628d6397
4 changed files with 14 additions and 13 deletions
|
|
@ -77,10 +77,11 @@ extern Bool XkbCopyKeymap(XkbDescPtr src, XkbDescPtr dst, Bool sendNotifies);
|
|||
EventListPtr InputEventList = NULL;
|
||||
int InputEventListLen = 0;
|
||||
|
||||
_X_EXPORT EventListPtr
|
||||
GetEventList()
|
||||
_X_EXPORT int
|
||||
GetEventList(EventListPtr* list)
|
||||
{
|
||||
return InputEventList;
|
||||
*list = InputEventList;
|
||||
return InputEventListLen;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue