X-Git-Url: https://git.subgeniuskitty.com/xmenu/.git/blobdiff_plain/b33886d7a213473ca83262488b4b29861f34d42b..28f784a7a47952d302632a41c2e43ff03318f930:/xmenu.h diff --git a/xmenu.h b/xmenu.h index bccc39e..385eb82 100644 --- a/xmenu.h +++ b/xmenu.h @@ -2,9 +2,10 @@ /* Actions for the main loop */ #define ACTION_NOP 0 -#define ACTION_SELECT 1<<0 /* select item and clear text */ -#define ACTION_MAP 1<<1 /* remap menu windows */ -#define ACTION_DRAW 1<<2 /* redraw menu windows */ +#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 }; @@ -49,6 +50,7 @@ struct Config { int iconpadding; int horzpadding; int alignment; + int typetoselect; /* the values below are set by options */ int monitor;