aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock.hh
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-08-11 16:10:33 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-08-11 16:10:33 -0400
commit6c678ca4b67ec5991e75e3de176c4c7ff89968d4 (patch)
treecbe10a1c64f4a658f9e9aff59231944e7e35dc20 /dw/textblock.hh
parent422c01e42e09209d26b0baa1820a8b36bbdccbd6 (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.hh4
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);