Fix build with --enable-debug.
[amended by Peter Hutterer] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6093d3eb1d
commit
e0ed9f16d0
|
@ -3673,9 +3673,9 @@ FixKeyState (DeviceEvent *event, DeviceIntPtr keybd)
|
|||
kptr = &keyc->down[key >> 3];
|
||||
bit = 1 << (key & 7);
|
||||
|
||||
if ((event->type == ET_KeyPress)||(event->type == ET_KeyRelease)) {
|
||||
if (event->type == ET_KeyPress) {
|
||||
DebugF("FixKeyState: Key %d %s\n",key,
|
||||
(((event->type == ET_KeyPress)||(event->type == ET_DeviceKeyPress)) ? "down" : "up"));
|
||||
((event->type == ET_KeyPress) ? "down" : "up"));
|
||||
}
|
||||
|
||||
if (event->type == ET_KeyPress)
|
||||
|
|
|
@ -133,7 +133,7 @@ AccessXKeyboardEvent(DeviceIntPtr keybd,
|
|||
|
||||
if (xkbDebugFlags&0x8) {
|
||||
DebugF("[xkb] AXKE: Key %d %s\n", keyCode,
|
||||
(event->type == ET_KeyPress ? "down" : "up"));
|
||||
(event.type == ET_KeyPress ? "down" : "up"));
|
||||
}
|
||||
|
||||
if (!_XkbIsPressEvent(type) && isRepeat)
|
||||
|
|
Loading…
Reference in New Issue