diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-25 18:43:42 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-25 18:43:42 +0000 |
| commit | 7af1c6a9c3a57f3ded34fad3f9f4a30fe377a65e (patch) | |
| tree | b05a5534c89253ad2685ee73723abb9132078942 /openbox/menu.h | |
| parent | 32c51bb4435f2f3c68616e26e7ee64dfcfb6a38d (diff) | |
menus grab the keyboard and pointer, thus making only one menu visible at a time, and making them act like gtk menus and * menus do, where you can click and drag and release to select something as well as click-release to elave it open while you search around the menu
Diffstat (limited to 'openbox/menu.h')
| -rw-r--r-- | openbox/menu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/menu.h b/openbox/menu.h index 6cb76a5e..ea5d7454 100644 --- a/openbox/menu.h +++ b/openbox/menu.h @@ -16,6 +16,7 @@ typedef void(*menu_controller_mouseover)(struct MenuEntry *self, gboolean enter); extern GHashTable *menu_hash; +extern GSList *menu_visible; typedef struct Menu { ObWindow obwin; @@ -131,6 +132,7 @@ void menu_entry_set_submenu(MenuEntry *entry, Menu *submenu); void menu_add_entry(Menu *menu, MenuEntry *entry); MenuEntry *menu_find_entry(Menu *menu, Window win); +MenuEntry *menu_find_entry_by_pos(Menu *menu, int x, int y); void menu_entry_render(MenuEntry *self); |
