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 committed by Paul Davis
parent 56020b8f8c
commit 90e282c450
2 changed files with 4 additions and 1 deletions

View File

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

View File

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