Fix "Tooltip causing Window to 'unfocus' on Windows" (#261)
This fixes a regression introduced in FLTK 1.4 in commit
3bc5be71a3
("Rewrite Fl_Tooltip.cxx
for the driver model").
This commit is contained in:
parent
6ac305a508
commit
29a56f87e3
@ -301,6 +301,7 @@ void Fl_Tooltip::enter_area(Fl_Widget* wid, int x,int y,int w,int h, const char*
|
||||
Fl::remove_timeout(tooltip_hide_timeout);
|
||||
}
|
||||
Fl::add_timeout(Fl_Tooltip::hoverdelay(), tooltip_timeout);
|
||||
} else if (Fl_Tooltip::delay() < .1) {
|
||||
// possible fix for the Windows titlebar, it seems to want the
|
||||
// window to be destroyed, moving it messes up the parenting:
|
||||
if (Fl::system_driver()->use_recent_tooltip_fix() && window && window->visible()) {
|
||||
|
Loading…
Reference in New Issue
Block a user