diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-01 11:29:53 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-01 11:29:53 -0400 |
commit | b1fdbc950ab2cd17b09d8d23556d0cced6966b96 (patch) | |
tree | 6d67d7b3003fffe117c5e637dc50e3e67a5022f9 /dw/layout.cc | |
parent | 203ce6f77717d0ef0128e434c039fbece6381817 (diff) |
crossing-events part3 (fix leaving a link into a non-dw widget)
This patch also disables unused code in Layout::leaveNotify()
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index 1e3da7ca..1c8c44b7 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -823,6 +823,7 @@ void Layout::enterNotify (View *view, int x, int y, ButtonState state) */ void Layout::leaveNotify (View *view, ButtonState state) { +#if 0 Widget *lastWidget; EventCrossing event; @@ -835,6 +836,9 @@ void Layout::leaveNotify (View *view, ButtonState state) event.currentWidget = widgetAtPoint; lastWidget->leaveNotify (&event); } +#else + moveOutOfView (state); +#endif } /* |