Stop tooltip timeout when a canvas-widget or item is hidden.

This commit is contained in:
Robin Gareus 2017-04-17 01:45:25 +02:00
parent 976e03c15c
commit aff92a019d
2 changed files with 12 additions and 1 deletions

View file

@ -97,7 +97,7 @@ public:
/** Called when an item is being destroyed */
virtual void item_going_away (Item *, Rect) {}
void item_shown_or_hidden (Item *);
virtual void item_shown_or_hidden (Item *);
void item_visual_property_changed (Item*);
void item_changed (Item *, Rect);
void item_moved (Item *, Rect);
@ -240,6 +240,7 @@ public:
private:
void item_going_away (Item *, Rect);
void item_shown_or_hidden (Item *);
bool send_leave_event (Item const *, double, double) const;
Cairo::RefPtr<Cairo::Surface> canvas_image;