Fix action= NoAction() printing
authorDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 13:04:04 +0000 (14:04 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 13:04:04 +0000 (14:04 +0100)
Print it explicitly, rather than type=0x00, with all the private data
too.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/keymap-dump.c

index 76b97f8..f80e354 100644 (file)
@@ -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;