diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-21 13:48:31 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-21 13:48:31 +0000 |
commit | 12d5a44afad884323b2d26fe5c7a27037f3de94f (patch) | |
tree | eaad9caa5702340b8c139da91f659efd991d9a7b /gtk2_ardour/utils.h | |
parent | 467be1f409ef47e7f5c31f74ef7d24921b27afa2 (diff) |
make tearoff windows still forward key events (and thus bindings still work); make big clock window into a utility window, not a menu (!)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5562 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r-- | gtk2_ardour/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h index 88c8536cc2..faa2ac2b05 100644 --- a/gtk2_ardour/utils.h +++ b/gtk2_ardour/utils.h @@ -29,6 +29,7 @@ #include <glibmm/ustring.h> #include "canvas.h" +#include "public_editor.h" namespace Gtk { class Window; @@ -75,6 +76,7 @@ bool canvas_item_visible (ArdourCanvas::Item* item); void set_color (Gdk::Color&, int); +bool relay_key_press (GdkEventKey*, Gtk::Window*); bool key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev); bool possibly_translate_keyval_to_make_legal_accelerator (uint32_t& keyval); |