diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-03 17:05:17 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-03 17:05:17 +0000 |
commit | bb520383a374789783321d4c19d71c97541c4315 (patch) | |
tree | b3770a9d8edc291164038deafb6299658e83dfa8 /gtk2_ardour/keyboard.h | |
parent | 1ae268ad2a817a7d6843ce09efb32f3dc0fa6281 (diff) |
meta-fy handling of button2, to deal with apple's messed up design decisions; on gtk/osx, button2 is (currently) Ctrl-Option-Button1
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4087 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyboard.h')
-rw-r--r-- | gtk2_ardour/keyboard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/keyboard.h b/gtk2_ardour/keyboard.h index 2b6d7c4564..e8ded792b9 100644 --- a/gtk2_ardour/keyboard.h +++ b/gtk2_ardour/keyboard.h @@ -108,6 +108,7 @@ class Keyboard : public sigc::trackable, Stateful static bool is_edit_event (GdkEventButton*); static bool is_delete_event (GdkEventButton*); static bool is_context_menu_event (GdkEventButton*); + static bool is_button2_event (GdkEventButton*); static Keyboard& the_keyboard() { return *_the_keyboard; } @@ -144,6 +145,7 @@ class Keyboard : public sigc::trackable, Stateful static guint delete_but; static guint delete_mod; static guint snap_mod; + static guint button2_modifiers; static Gtk::Window* current_window; static std::string user_keybindings_path; static bool can_save_keybindings; |