mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-11 04:00:21 +01:00
Don't reference noXkbExtension when building without XKB. (Bob Terek - Sun
Microsystems)
This commit is contained in:
parent
e73cdba865
commit
f5814bf3ff
1 changed files with 9 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue