keymap-dump: Print NoAction actions too
authorDaniel Stone <daniel@fooishbar.org>
Sat, 2 Jun 2012 14:25:36 +0000 (15:25 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Sat, 2 Jun 2012 14:25:36 +0000 (15:25 +0100)
commitf531d1e16d17f73633ee2cada0ef0f3859b43c0e
tree14cf418931d3912733167bcfb06dbedfded74c8a
parentc87468e926f75fef29e5f6c997d8baa28d8bc8a9
keymap-dump: Print NoAction actions too

The failure mode here is a little irritating:
    - server loads map with ISO_Lock action
    - server dumps keymap to string, including:
      interpret ISO_Lock+AnyOfOrAll(None) {
          action= NoAction();
      };
      as we don't (yet) print ISO_Lock actions
    - client parses keymap from string
    - client dumps keymap to string, including:
      interpret ISO_Lock+AnyOfOrAll(None) {
      };
    - this results in a syntax error

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