use moved version of reset_focus()
[ardour.git] / gtk2_ardour / editor_mouse.cc
index 01cb2175c16a056d0840048729f66b9a664f7bbf..3e463373d16d6767d70d15a88a5487934c450194 100644 (file)
@@ -47,6 +47,7 @@
 #include "ardour/types.h"
 
 #include "actions.h"
+#include "ardour_ui.h"
 #include "editor.h"
 #include "time_axis_view.h"
 #include "audio_time_axis.h"
@@ -2510,7 +2511,7 @@ Editor::escape ()
                selection->clear ();
        }
 
-       reset_focus (&contents());
+       ARDOUR_UI::instance()->reset_focus (&contents());
 }
 
 /** Update _join_object_range_state which indicate whether we are over the top