Commit e63748f2 authored by Timm Bäder's avatar Timm Bäder 🤔 Committed by Daniel Boles

GdkX11DeviceManager: Fix debugging output

The 2 values added in 3.22 were missing from the source_names array.
parent a7ebe62e
......@@ -474,7 +474,7 @@ create_device (GdkDeviceManager *device_manager,
GDK_NOTE (INPUT,
({
const gchar *type_names[] = { "master", "slave", "floating" };
const gchar *source_names[] = { "mouse", "pen", "eraser", "cursor", "keyboard", "direct touch", "indirect touch" };
const gchar *source_names[] = { "mouse", "pen", "eraser", "cursor", "keyboard", "direct touch", "indirect touch", "trackpoint", "pad" };
const gchar *mode_names[] = { "disabled", "screen", "window" };
g_message ("input device:\n\tname: %s\n\ttype: %s\n\tsource: %s\n\tmode: %s\n\thas cursor: %d\n\ttouches: %d",
dev->name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment