diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-02-11 14:17:59 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-02-11 14:17:59 -0500 |
| commit | 08269cefbce2fe600269c989f9a6a22a98641ba1 (patch) | |
| tree | c0df49c9be68ff45e786a916d96563d7f5628dbb /openbox/menuframe.h | |
| parent | 62f8a5c49b852047bf6cc199d2d0c9add41d35a9 (diff) | |
make menu input work with the new obt keyboard stuff.
create an Input Context for use during keyboard grabs, and use this to
translate KeyPress events properly.
make the menu respond to KeyPress events, since these are the only ones that
can be translated properly, but still execute things from KeyRelease events
Diffstat (limited to 'openbox/menuframe.h')
| -rw-r--r-- | openbox/menuframe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/menuframe.h b/openbox/menuframe.h index 8f124ed6..44c02562 100644 --- a/openbox/menuframe.h +++ b/openbox/menuframe.h @@ -23,6 +23,7 @@ #include "geom.h" #include "window.h" #include "obrender/render.h" +#include "obt/keyboard.h" #include <glib.h> @@ -113,6 +114,8 @@ ObMenuFrame* menu_frame_new(struct _ObMenu *menu, struct _ObClient *client); void menu_frame_free(ObMenuFrame *self); +ObtIC* menu_frame_ic(ObMenuFrame *self); + void menu_frame_move(ObMenuFrame *self, gint x, gint y); void menu_frame_move_on_screen(ObMenuFrame *self, gint x, gint y, gint *dx, gint *dy); |
