diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-11 16:10:33 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-11 16:10:33 -0400 |
commit | 6c678ca4b67ec5991e75e3de176c4c7ff89968d4 (patch) | |
tree | cbe10a1c64f4a658f9e9aff59231944e7e35dc20 /dw/textblock.hh | |
parent | 422c01e42e09209d26b0baa1820a8b36bbdccbd6 (diff) |
crossing-events-part5: fix hoverTooltip accuracy for a corner case
This is not a bug in the event dispatcher but a problem with "hoverTooltip",
which doesn't hold accurate data in some cases. Making it static solves
the problem.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh index d05c87e2..96cb40e5 100644 --- a/dw/textblock.hh +++ b/dw/textblock.hh @@ -251,9 +251,7 @@ protected: struct {int index, nChar;} hlStart[core::HIGHLIGHT_NUM_LAYERS], hlEnd[core::HIGHLIGHT_NUM_LAYERS]; - int hoverLink; /* The link under the button. */ - core::style::Tooltip *hoverTooltip; /* The tooltip under the button. No ref - * hold. */ + int hoverLink; /* The link under the mouse pointer */ void queueDrawRange (int index1, int index2); |