From 28e638deacfed2b312cc80a4b844569b766cd023 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 19 Nov 2024 16:31:36 -0700 Subject: [PATCH] undo a change the broke cursor management push push pop pop must always work, even if the two pushes are for the same cursor --- gtk2_ardour/editing_context.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gtk2_ardour/editing_context.cc b/gtk2_ardour/editing_context.cc index fca26ee94a..71915501ef 100644 --- a/gtk2_ardour/editing_context.cc +++ b/gtk2_ardour/editing_context.cc @@ -2082,12 +2082,6 @@ size_t EditingContext::push_canvas_cursor (Gdk::Cursor* cursor) { if (!_cursors->is_invalid (cursor)) { - if (!_cursor_stack.empty()) { - if (cursor == _cursor_stack.back()) { - return _cursor_stack.size() - 1; - } - } - _cursor_stack.push_back (cursor); set_canvas_cursor (cursor); }