wayland: Add debug output for keymaps

Use GDK_DEBUG=input to see your keymap sent over and over again.
Efficiency!
This commit is contained in:
Matthias Clasen 2016-04-19 12:23:51 -04:00
parent 36fead28e0
commit e7d84898ee

View File

@ -572,6 +572,8 @@ _gdk_wayland_keymap_update_from_fd (GdkKeymap *keymap,
return;
}
GDK_NOTE(INPUT, g_print ("keymap:\n%s\n", map_str));
xkb_keymap = xkb_keymap_new_from_string (context, map_str, format, 0);
munmap (map_str, size);
close (fd);