From 26879183e96f5a0d981e6ae76fda82a0d4564b20 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 26 Apr 2007 05:08:33 +0000 Subject: place the client menu at the top left of the window when opening it with a key binding. change how the first menus are placed. place them like other people place menus. maybe this is good, maybe it is bad, we will see.. --- openbox/menuframe.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'openbox/menuframe.h') diff --git a/openbox/menuframe.h b/openbox/menuframe.h index 4cd27d37..5c876832 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -111,12 +111,11 @@ ObMenuFrame* menu_frame_new(struct _ObMenu *menu, struct _ObClient *client); void menu_frame_free(ObMenuFrame *self); void menu_frame_move(ObMenuFrame *self, gint x, gint y); -void menu_frame_move_on_screen(ObMenuFrame *self, gint *dx, gint *dy); +void menu_frame_move_on_screen(ObMenuFrame *self, gint x, gint y, + gint *dx, gint *dy); -void menu_frame_place_topmenu(ObMenuFrame *self, gint x, gint y); -void menu_frame_place_submenu(ObMenuFrame *self); - -gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y); +gboolean menu_frame_show_topmenu(ObMenuFrame *self, gint x, gint y, + gint button); gboolean menu_frame_show_submenu(ObMenuFrame *self, ObMenuFrame *parent, ObMenuEntryFrame *parent_entry); void menu_frame_hide(ObMenuFrame *self); -- cgit v1.2.3