aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-10-29 02:34:17 +0000
committercorvid <corvid@lavabit.com>2009-10-29 02:34:17 +0000
commit06aa8e6786a22374139cbcf9d018e53865875467 (patch)
tree6a9925a5a54a06856569ea4d773b3a2c7c1d48a7
parent21f85b39f22ff0f5cd373a4cfedba115ee533e98 (diff)
emit link press/release even when no widget present at point
-rw-r--r--ChangeLog1
-rw-r--r--dw/layout.cc4
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e35e4b21..46323fb6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}