|
|
|
|
@ -794,6 +794,7 @@ void Source::ClangViewParse::update_types() {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
bool Source::ClangViewParse::on_motion_notify_event(GdkEventMotion* event) { |
|
|
|
|
if(on_motion_last_x!=event->x || on_motion_last_y!=event->y) { |
|
|
|
|
delayed_tooltips_connection.disconnect(); |
|
|
|
|
if(clang_readable && event->state==0) { |
|
|
|
|
Gdk::Rectangle rectangle(event->x, event->y, 1, 1); |
|
|
|
|
@ -805,7 +806,9 @@ bool Source::ClangViewParse::on_motion_notify_event(GdkEventMotion* event) {
|
|
|
|
|
type_tooltips.hide(); |
|
|
|
|
diagnostic_tooltips.hide(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
on_motion_last_x=event->x; |
|
|
|
|
on_motion_last_y=event->y; |
|
|
|
|
return Source::View::on_motion_notify_event(event); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|