From 670938c8c455f2ded443d0ea222ed1cd07ecc528 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 20 Dec 2014 01:11:28 -0500 Subject: Fix various cursor problems. Add a new scoped cursor system that makes it much harder to screw up and end up with stick cursors and so on. --- gtk2_ardour/editor_drag.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/editor_drag.h') diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 78b541d4f5..260a333ce9 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -27,6 +27,7 @@ #include "ardour/types.h" +#include "cursor_context.h" #include "editor_items.h" namespace ARDOUR { @@ -240,6 +241,7 @@ private: ARDOUR::framepos_t _raw_grab_frame; ///< unsnapped frame that the mouse was at when start_grab was called, or 0 ARDOUR::framepos_t _grab_frame; ///< adjusted_frame that the mouse was at when start_grab was called, or 0 ARDOUR::framepos_t _last_pointer_frame; ///< adjusted_frame the last time a motion occurred + CursorContext::Handle _cursor_ctx; ///< cursor change context }; class RegionDrag; -- cgit v1.2.3