mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
virtual-input-device/native: Fix warning message
We want to log the evdev keycode here, not the Clutter one. https://gitlab.gnome.org/GNOME/mutter/merge_requests/1065
This commit is contained in:
parent
efe1bc2e59
commit
e07478f8bc
@ -417,7 +417,7 @@ meta_virtual_input_device_native_notify_keyval (ClutterVirtualInputDevice *virtu
|
||||
key_count = update_button_count (virtual_evdev, evcode, key_state);
|
||||
if (key_count < 0 || key_count > 1)
|
||||
{
|
||||
g_warning ("Received multiple virtual 0x%x key %s (ignoring)", keycode,
|
||||
g_warning ("Received multiple virtual 0x%x key %s (ignoring)", evcode,
|
||||
key_state == CLUTTER_KEY_STATE_PRESSED ? "presses" : "releases");
|
||||
update_button_count (virtual_evdev, evcode, 1 - key_state);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user