[gtk+] wayland: Add debug output for keymaps
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] wayland: Add debug output for keymaps
- Date: Tue, 19 Apr 2016 16:25:56 +0000 (UTC)
commit e7d84898ee65100b8ffe905cbcc4b878b7e67e10
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Apr 19 12:23:51 2016 -0400
wayland: Add debug output for keymaps
Use GDK_DEBUG=input to see your keymap sent over and over again.
Efficiency!
gdk/wayland/gdkkeys-wayland.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/wayland/gdkkeys-wayland.c b/gdk/wayland/gdkkeys-wayland.c
index 2616df4..a4f39d3 100644
--- a/gdk/wayland/gdkkeys-wayland.c
+++ b/gdk/wayland/gdkkeys-wayland.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]