mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 07:58:03 +02:00
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
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue