]> the.earth.li Git - onak.git/commitdiff
Add an element to the keyd command enum for the last supported command
authorJonathan McDowell <noodles@earth.li>
Tue, 29 Mar 2011 14:20:10 +0000 (07:20 -0700)
committerJonathan McDowell <noodles@earth.li>
Tue, 29 Mar 2011 14:20:10 +0000 (07:20 -0700)
  Add KEYD_CMD_LAST as a placeholder for the last supported keyd
  command.

keyd.h

diff --git a/keyd.h b/keyd.h
index 9dd72277f6694f2e4e001370c8ebd33b48b39db3..30af955234a7161ff0c28c17cedf6b45f5a36602 100644 (file)
--- a/keyd.h
+++ b/keyd.h
@@ -23,7 +23,8 @@ enum keyd_ops {
        KEYD_CMD_GETFULLKEYID,
        KEYD_CMD_KEYITER,
        KEYD_CMD_CLOSE,
-       KEYD_CMD_QUIT
+       KEYD_CMD_QUIT,
+       KEYD_CMD_LAST                   /* Placeholder */
 };
 
 enum keyd_reply {