Merge branch 'master' into type
[xmenu] / xmenu.h
diff --git a/xmenu.h b/xmenu.h
index 340ce24..385eb82 100644 (file)
--- a/xmenu.h
+++ b/xmenu.h
@@ -1,5 +1,12 @@
 #define PROGNAME "xmenu"
 
 #define PROGNAME "xmenu"
 
+/* Actions for the main loop */
+#define ACTION_NOP    0
+#define ACTION_CLEAR  1<<0      /* clear text */
+#define ACTION_SELECT 1<<1      /* select item */
+#define ACTION_MAP    1<<2      /* remap menu windows */
+#define ACTION_DRAW   1<<3      /* redraw menu windows */
+
 /* enum for keyboard menu navigation */
 enum { ITEMPREV, ITEMNEXT, ITEMFIRST, ITEMLAST };
 
 /* enum for keyboard menu navigation */
 enum { ITEMPREV, ITEMNEXT, ITEMFIRST, ITEMLAST };
 
@@ -43,6 +50,7 @@ struct Config {
        int iconpadding;
        int horzpadding;
        int alignment;
        int iconpadding;
        int horzpadding;
        int alignment;
+       int typetoselect;
 
        /* the values below are set by options */
        int monitor;
 
        /* the values below are set by options */
        int monitor;