X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.c;h=868293c68cd9550b4c6594111834067237885b32;hb=c5d2a9bc98fb7d1ed85c69fc3007ab36b9fd96d5;hp=69a5fe5aa4010d6da5bdbdeb95830a6070c9c2f6;hpb=d77c8f62f2f908cfe1d09686a35dce1ccaf65aec;p=chaz%2Fopenbox diff --git a/openbox/menu.c b/openbox/menu.c index 69a5fe5a..868293c6 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -1,6 +1,7 @@ /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- menu.c for the Openbox window manager + Copyright (c) 2006 Mikael Magnusson Copyright (c) 2003 Ben Jansens This program is free software; you can redistribute it and/or modify @@ -29,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; @@ -70,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(); @@ -111,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); @@ -309,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)) {