Commit e6ca6fc57d9070fb97998df817958b2b98952020

Daniel Stone 2012-06-04T14:04:04

Fix action= NoAction() printing Print it explicitly, rather than type=0x00, with all the private data too. Signed-off-by: Daniel Stone <daniel@fooishbar.org>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/keymap-dump.c b/src/keymap-dump.c
index 76b97f8..f80e354 100644
--- a/src/keymap-dump.c
+++ b/src/keymap-dump.c
@@ -610,6 +610,7 @@ write_action(struct xkb_keymap *keymap, char **buf, size_t *size,
     case XkbSA_RedirectKey:
     case XkbSA_DeviceBtn:
     case XkbSA_LockDeviceBtn:
+    case XkbSA_NoAction:
         /* XXX TODO */
         write_buf(keymap, buf, size, offset, "%sNoAction()%s", prefix, suffix);
         break;