[mutter/wip/carlosg/no-device-id: 7/10] clutter/main: Drop usage of clutter_input_device_get_device_id()
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/no-device-id: 7/10] clutter/main: Drop usage of clutter_input_device_get_device_id()
- Date: Wed, 18 Nov 2020 19:10:53 +0000 (UTC)
commit 045181f321bbf5800be59d10e5039ba2eb6f8b36
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 17 14:55:14 2020 +0100
clutter/main: Drop usage of clutter_input_device_get_device_id()
Just print the name in those debug logs.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1569>
clutter/clutter/clutter-main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c
index c258f676d0..0606d2e4a1 100644
--- a/clutter/clutter/clutter-main.c
+++ b/clutter/clutter/clutter-main.c
@@ -1319,9 +1319,9 @@ event_click_count_generate (ClutterEvent *event)
previous_button_number = device->previous_button_number;
CLUTTER_NOTE (EVENT,
- "Restoring previous click count:%d (device:%d, time:%u)",
+ "Restoring previous click count:%d (device:%s, time:%u)",
click_count,
- clutter_input_device_get_device_id (device),
+ clutter_input_device_get_device_name (device),
previous_time);
}
else
@@ -1375,9 +1375,9 @@ event_click_count_generate (ClutterEvent *event)
if (event->type == CLUTTER_BUTTON_PRESS && device != NULL)
{
- CLUTTER_NOTE (EVENT, "Storing click count: %d (device:%d, time:%u)",
+ CLUTTER_NOTE (EVENT, "Storing click count: %d (device:%s, time:%u)",
click_count,
- clutter_input_device_get_device_id (device),
+ clutter_input_device_get_device_name (device),
previous_time);
device->click_count = click_count;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]