mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 06:04:49 +00:00
Don't reference noXkbExtension when building without XKB. (Bob Terek - Sun
Microsystems)
This commit is contained in:
@@ -1029,7 +1029,11 @@ DGAProcessKeyboardEvent (ScreenPtr pScreen, dgaEvent *de, DeviceIntPtr keybd)
|
||||
inputInfo.pointer->valuator->motionHintWindow = NullWindow;
|
||||
*kptr |= bit;
|
||||
keyc->prev_state = keyc->state;
|
||||
if (noXkbExtension) {
|
||||
#ifdef XKB
|
||||
if (noXkbExtension)
|
||||
#endif
|
||||
{
|
||||
|
||||
for (i = 0, mask = 1; modifiers; i++, mask <<= 1)
|
||||
{
|
||||
if (mask & modifiers)
|
||||
@@ -1046,7 +1050,10 @@ DGAProcessKeyboardEvent (ScreenPtr pScreen, dgaEvent *de, DeviceIntPtr keybd)
|
||||
inputInfo.pointer->valuator->motionHintWindow = NullWindow;
|
||||
*kptr &= ~bit;
|
||||
keyc->prev_state = keyc->state;
|
||||
if (noXkbExtension) {
|
||||
#ifdef XKB
|
||||
if (noXkbExtension)
|
||||
#endif
|
||||
{
|
||||
for (i = 0, mask = 1; modifiers; i++, mask <<= 1)
|
||||
{
|
||||
if (mask & modifiers) {
|
||||
|
||||
Reference in New Issue
Block a user