diff options
Diffstat (limited to 'dw')
-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 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; } |