mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
tests: Print the device name, as well as its Id
The test-devices interactive test should display the device name along with the id.
This commit is contained in:
parent
66740e8000
commit
850dd5a38f
@ -79,7 +79,8 @@ test_devices_main (int argc, char **argv)
|
||||
device_type = clutter_input_device_get_device_type (device);
|
||||
if (device_type == CLUTTER_POINTER_DEVICE)
|
||||
{
|
||||
g_print ("got a pointer device with id %d...\n",
|
||||
g_print ("got a pointer device '%s' with id %d...\n",
|
||||
clutter_input_device_get_device_name (device),
|
||||
clutter_input_device_get_device_id (device));
|
||||
|
||||
hand = clutter_texture_new_from_file (TESTS_DATADIR
|
||||
|
Loading…
Reference in New Issue
Block a user