diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-26 05:08:33 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-26 05:08:33 +0000 |
| commit | 26879183e96f5a0d981e6ae76fda82a0d4564b20 (patch) | |
| tree | e956f1589a75b4e37b30670b3c1b7803faeac642 /openbox/menuframe.h | |
| parent | 853a5b6b042cad94aa9c81290ed3bed34a6ae90d (diff) | |
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..
Diffstat (limited to 'openbox/menuframe.h')
| -rw-r--r-- | openbox/menuframe.h | 9 |
1 files changed, 4 insertions, 5 deletions
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); |
