X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.c;h=868293c68cd9550b4c6594111834067237885b32;hb=bf247215bb015dbb4dfa39c38bf020aa815cd306;hp=34150391fe8e760fb7eb9b0354cc77d39787c420;hpb=d9f14c1d010860e658f4a9adc6682e0264b410aa;p=chaz%2Fopenbox diff --git a/openbox/menu.c b/openbox/menu.c index 34150391..868293c6 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -30,6 +30,7 @@ #include "misc.h" #include "client_menu.h" #include "client_list_menu.h" +#include "client_list_combined_menu.h" #include "parser/parse.h" typedef struct _ObMenuParseState ObMenuParseState; @@ -71,6 +72,7 @@ void menu_startup(gboolean reconfig) (GDestroyNotify)menu_destroy_hash_value); client_list_menu_startup(reconfig); + client_list_combined_menu_startup(reconfig); client_menu_startup(); menu_parse_inst = parse_startup(); @@ -112,6 +114,7 @@ void menu_shutdown(gboolean reconfig) menu_parse_inst = NULL; client_list_menu_shutdown(reconfig); + client_list_combined_menu_shutdown(reconfig); menu_frame_hide_all(); g_hash_table_destroy(menu_hash); @@ -310,7 +313,7 @@ void menu_show(gchar *name, gint x, gint y, ObClient *client) menu_frame_move(frame, x, y); } else menu_frame_move(frame, - x - ob_rr_theme->bwidth, y - ob_rr_theme->bwidth); + x - ob_rr_theme->mbwidth, y - ob_rr_theme->mbwidth); for (i = 0; i < screen_num_monitors; ++i) { Rect *a = screen_physical_area_monitor(i); if (RECT_CONTAINS(*a, x, y)) {