--- rxvt-unicode/src/menubar.h 2004/01/17 01:20:01 1.3 +++ rxvt-unicode/src/menubar.h 2005/01/02 10:55:43 1.5 @@ -20,9 +20,9 @@ short len; /* strlen (name) */ short len2; /* strlen (name) */ union { - short type; /* must not be changed; first element */ - action_t action; - submenu_t submenu; + short type; /* must not be changed; first element */ + action_t action; + submenu_t submenu; } entry; } menuitem_t; @@ -44,6 +44,7 @@ short len; /* strlen (name) */ short width; /* maximum menu width [chars] */ Window win; /* window of the menu */ + struct rxvt_drawable *drawable; short x; /* x location [pixels] (chars if parent == NULL) */ short y; /* y location [pixels] */ short w, h; /* window width, height [pixels] */ @@ -70,8 +71,7 @@ #define HEIGHT_SEPARATOR (SHADOW + 1) #define HEIGHT_TEXT (Height2Pixel(1) + 2) -#define MENU_DELAY_USEC 250000 /* 1/4 sec */ - +#define MENU_DELAY_USEC 0 /* no delay */ #define SEPARATOR_NAME "-" #define MENUITEM_BEG '{'