diff options
Diffstat (limited to 'dw/fltkviewbase.cc')
-rw-r--r-- | dw/fltkviewbase.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc index 9e23cf19..066d3354 100644 --- a/dw/fltkviewbase.cc +++ b/dw/fltkviewbase.cc @@ -182,6 +182,9 @@ void FltkViewBase::draw (const core::Rectangle *rect, fl_rectf (X, Y, W, H); theLayout->expose (this, &r); } + // DEBUG: + //fl_color(FL_RED); + //fl_rect(X, Y, W, H); exposeArea = NULL; } @@ -274,6 +277,9 @@ int FltkViewBase::handle (int event) getDwButtonState ()); return Fl_Group::handle (event); + case FL_HIDE: + /* WORKAROUND: strangely, the tooltip window is not automatically hidden + * with its parent. Here we fake a LEAVE to achieve it. */ case FL_LEAVE: theLayout->leaveNotify (this, getDwButtonState ()); return Fl_Group::handle (event); |