13
0

work around sparse motion notification events when tooltips are disabled

fixes http://tracker.ardour.org/view.php?id=5174
This commit is contained in:
Robin Gareus 2013-07-17 02:35:02 +02:00
parent fc0053a721
commit bf0f4fe077
2 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,7 @@ GroupTabs::GroupTabs ()
, _dragging (0) , _dragging (0)
, _dragging_new_tab (0) , _dragging_new_tab (0)
{ {
add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK|Gdk::POINTER_MOTION_MASK);
} }
GroupTabs::~GroupTabs () GroupTabs::~GroupTabs ()
@ -175,6 +175,8 @@ GroupTabs::on_motion_notify_event (GdkEventMotion* ev)
set_dirty (); set_dirty ();
queue_draw (); queue_draw ();
gdk_event_request_motions(ev);
return true; return true;
} }

View File

@ -410,6 +410,7 @@ TimeAxisView::controls_ebox_motion (GdkEventMotion* ev)
maybe_set_cursor (ev->y); maybe_set_cursor (ev->y);
} }
gdk_event_request_motions(ev);
return true; return true;
} }