Xi: Make CopyKeyClass X_HIDDEN to avoid ugly ifdef-fu
(cherry picked from commit 6d436e17a9ae7f4ce8537f3fabc052d4f07ca75f)
This commit is contained in:
parent
a2cd211778
commit
fb7938315b
|
@ -192,9 +192,6 @@ XIGetDevice(xEvent* xE)
|
|||
* This code is basically the old SwitchCoreKeyboard.
|
||||
*/
|
||||
|
||||
#ifndef XQUARTZ
|
||||
static
|
||||
#endif
|
||||
void
|
||||
CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master)
|
||||
{
|
||||
|
|
|
@ -592,6 +592,7 @@ extern Bool IsKeyboardDevice(DeviceIntPtr dev);
|
|||
extern Bool IsPointerEvent(InternalEvent *event);
|
||||
extern Bool IsMaster(DeviceIntPtr dev);
|
||||
|
||||
extern _X_HIDDEN void CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master);
|
||||
extern _X_HIDDEN int CorePointerProc(DeviceIntPtr dev, int what);
|
||||
extern _X_HIDDEN int CoreKeyboardProc(DeviceIntPtr dev, int what);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user