diff options
author | corvid <corvid@lavabit.com> | 2009-10-29 02:34:17 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-10-29 02:34:17 +0000 |
commit | 06aa8e6786a22374139cbcf9d018e53865875467 (patch) | |
tree | 6a9925a5a54a06856569ea4d773b3a2c7c1d48a7 | |
parent | 21f85b39f22ff0f5cd373a4cfedba115ee533e98 (diff) |
emit link press/release even when no widget present at point
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | dw/layout.cc | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -35,6 +35,7 @@ dillo-2.2 [??] - Added 'save' key action (not bound by default). - Tooltips - Fix segfault when radio button lacks name attribute. + - Enable popup menu below bottom of page content (BUG#856). Patches: corvid +- Support for the letter-spacing property. Patch: Johannes Hofmann, corvid diff --git a/dw/layout.cc b/dw/layout.cc index e1f79223..b30831c7 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -932,6 +932,10 @@ bool Layout::processMouseEvent (MousePositionEvent *event, } } } + if (type == BUTTON_PRESS) + return emitLinkPress (NULL, -1, -1, -1, -1, (EventButton*)event); + else if (type == BUTTON_RELEASE) + return emitLinkRelease(NULL, -1, -1, -1, -1, (EventButton*)event); return false; } |