summaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 87fab74f..b47e11cf 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -621,9 +621,7 @@ UI::UI(int x, int y, int ww, int wh, const char* label, const UI *cur_ui) :
{
int s_h = 20;
- Font *f = font(prefs.vw_fontname, 0);
- if (f)
- this->labelfont(f);
+ PointerOnLink = FALSE;
Tabs = NULL;
TabTooltip = NULL;
@@ -801,6 +799,14 @@ int UI::handle(int event)
ret = 1;
}
}
+
+ } else if (event == PUSH) {
+ if (prefs.middle_click_drags_page == 0 &&
+ event_button() == MiddleButton &&
+ !a_UIcmd_pointer_on_link(a_UIcmd_get_bw_by_widget(this))) {
+ paste_url();
+ ret = 1;
+ }
}
if (!ret)