From eaf49f02ff92f22cbfa214ae89ec0a2fc3861d29 Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 22 May 2015 02:12:58 +1000 Subject: Fix up modifier behaviour - its now possible to use snap modifiers in combination with others afaict this hasn't worked for some time. - use "contains" rather than "equals" during drag. Still uncertain about this wrt beginning a drag. for now they are all "equals". - probably solve the "snap modifier modifier" problem using ArdourKeyboard::indicates_snap () and friend. --- gtk2_ardour/keyboard.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk2_ardour/keyboard.h') diff --git a/gtk2_ardour/keyboard.h b/gtk2_ardour/keyboard.h index 95e40f6e3e..8ed30efb72 100644 --- a/gtk2_ardour/keyboard.h +++ b/gtk2_ardour/keyboard.h @@ -41,6 +41,9 @@ class ArdourKeyboard : public Gtkmm2ext::Keyboard ARDOUR_UI& ui; + static bool indicates_snap (guint state); + static bool indicates_snap_delta (guint state); + static void set_trim_contents_modifier (guint); /** @return Modifier mask to move contents rather than region bounds during trim; */ -- cgit v1.2.3