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:
parent
36fead28e0
commit
e7d84898ee
@ -572,6 +572,8 @@ _gdk_wayland_keymap_update_from_fd (GdkKeymap *keymap,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GDK_NOTE(INPUT, g_print ("keymap:\n%s\n", map_str));
|
||||||
|
|
||||||
xkb_keymap = xkb_keymap_new_from_string (context, map_str, format, 0);
|
xkb_keymap = xkb_keymap_new_from_string (context, map_str, format, 0);
|
||||||
munmap (map_str, size);
|
munmap (map_str, size);
|
||||||
close (fd);
|
close (fd);
|
||||||
|
Loading…
Reference in New Issue
Block a user