gboolean config_menu_warppointer;
gboolean config_menu_xorstyle;
-gboolean config_menu_hilightfirst;
guint config_menu_hide_delay;
GSList *config_menu_files;
config_menu_warppointer = parse_bool(doc, n);
if ((n = parse_find_node("xorStyle", node)))
config_menu_xorstyle = parse_bool(doc, n);
- if ((n = parse_find_node("hilightFirst", node)))
- config_menu_hilightfirst = parse_bool(doc, n);
if ((n = parse_find_node("hideDelay", node)))
config_menu_hide_delay = parse_int(doc, n);
}
config_menu_warppointer = TRUE;
config_menu_xorstyle = TRUE;
- config_menu_hilightfirst = TRUE;
config_menu_hide_delay = 250;
config_menu_files = NULL;
extern gboolean config_menu_warppointer;
/*! make menus jump around a lot */
extern gboolean config_menu_xorstyle;
-/*! hilight first entry in menu */
-extern gboolean config_menu_hilightfirst;
/*! delay for hiding menu when opening */
extern guint config_menu_hide_delay;
/*! User-specified menu files */
else
menu_frame_move(frame,
x - ob_rr_theme->bwidth, y - ob_rr_theme->bwidth);
- if (!menu_frame_show(frame, NULL)) {
+ if (!menu_frame_show(frame, NULL))
menu_frame_free(frame);
- } else {
- if (frame->entries)
- menu_frame_select_next(frame);
- }
}
static ObMenuEntry* menu_entry_new(ObMenu *menu, ObMenuEntryType type, gint id)