fix ordering of track view list & route list resync in editor, to avoid clearing...
[ardour.git] / gtk2_ardour / keyboard.h
index 175208a4349882ccb7d4a766516e4a19229bac02..e8ded792b9f0de89e494cc592a450ce531613a86 100644 (file)
@@ -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; }
 
@@ -116,6 +117,7 @@ class Keyboard : public sigc::trackable, Stateful
        static void magic_widget_drop_focus ();
 
        static void setup_keybindings ();
+       static void keybindings_changed ();
        static void save_keybindings ();
        static bool load_keybindings (std::string path);
        static void set_can_save_keybindings (bool yn);
@@ -143,9 +145,11 @@ 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;
+       static bool bindings_changed_after_save_became_legal;
        static std::string _current_binding_name;
 
        typedef std::pair<std::string,std::string> two_strings;