mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-19 00:51:16 +00:00
make core keyboard/pointer map functions act on all core-sending devices
Make Set{Keyboard,Modifier,Pointer}Mapping act on all devices which send core
events.
Change LegalModifier to accept a DeviceIntPtr.
This commit is contained in:
parent
a5d639cd87
commit
ad631afcf3
19 changed files with 297 additions and 235 deletions
|
|
@ -52,7 +52,7 @@ InitOutput (ScreenInfo *pScreenInfo,
|
|||
|
||||
Bool
|
||||
LegalModifier (unsigned int key,
|
||||
DevicePtr pDev)
|
||||
DeviceIntPtr pDev)
|
||||
{
|
||||
return xeglLegalModifier (key, pDev);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ xeglInitInput (int argc,
|
|||
|
||||
Bool
|
||||
xeglLegalModifier (unsigned int key,
|
||||
DevicePtr pDev)
|
||||
DeviceIntPtr pDev)
|
||||
{
|
||||
return KdLegalModifier (key, pDev);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ KdWakeupHandler (pointer data,
|
|||
|
||||
Bool
|
||||
KdLegalModifier (unsigned int key,
|
||||
DevicePtr pDev);
|
||||
DeviceIntPtr pDev);
|
||||
|
||||
void
|
||||
KdProcessInputEvents (void);
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ InitOutput (ScreenInfo *pScreenInfo,
|
|||
|
||||
Bool
|
||||
LegalModifier (unsigned int key,
|
||||
DevicePtr pDev)
|
||||
DeviceIntPtr pDev)
|
||||
{
|
||||
return xeglLegalModifier (key, pDev);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ InitOutput (ScreenInfo *pScreenInfo,
|
|||
|
||||
Bool
|
||||
LegalModifier (unsigned int key,
|
||||
DevicePtr pDev)
|
||||
DeviceIntPtr pDev)
|
||||
{
|
||||
return xglxLegalModifier (key, pDev);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1243,7 +1243,7 @@ xglxKeybdProc (DeviceIntPtr pDevice,
|
|||
|
||||
Bool
|
||||
xglxLegalModifier (unsigned int key,
|
||||
DevicePtr pDev)
|
||||
DeviceIntPtr pDev)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ xglxInitOutput (ScreenInfo *pScreenInfo,
|
|||
|
||||
Bool
|
||||
xglxLegalModifier (unsigned int key,
|
||||
DevicePtr pDev);
|
||||
DeviceIntPtr pDev);
|
||||
|
||||
void
|
||||
xglxProcessInputEvents (void);
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ InitOutput (ScreenInfo *pScreenInfo,
|
|||
|
||||
Bool
|
||||
LegalModifier (unsigned int key,
|
||||
DevicePtr pDev)
|
||||
DeviceIntPtr pDev)
|
||||
{
|
||||
return xglxLegalModifier (key, pDev);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ InitOutput (ScreenInfo *pScreenInfo,
|
|||
|
||||
Bool
|
||||
LegalModifier (unsigned int key,
|
||||
DevicePtr pDev)
|
||||
DeviceIntPtr pDev)
|
||||
{
|
||||
return (*__ddxFunc.legalModifier) (key, pDev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue