From 0bc6659f6b12a1c93636013ce7c386116481a2be Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 10 Sep 2014 19:40:24 -0400 Subject: look for per-cursor-set hotspot info file when setting up mouse cursors --- gtk2_ardour/mouse_cursors.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/mouse_cursors.cc b/gtk2_ardour/mouse_cursors.cc index 37a0118b33..e8b168630e 100644 --- a/gtk2_ardour/mouse_cursors.cc +++ b/gtk2_ardour/mouse_cursors.cc @@ -137,6 +137,12 @@ MouseCursors::set_cursor_set (const std::string& name) drop_all (); _cursor_set = name; + std::string hotspot_info_path = get_icon_path ("hotspots", _cursor_set, false); + + if (!hotspot_info_path.empty()) { + Gtkmm2ext::CursorInfo::load_cursor_info (hotspot_info_path); + } + /* these will throw exceptions if their images cannot be found. the default hotspot coordinates will be overridden by any -- cgit v1.2.3