diff options
author | corvid <corvid@lavabit.com> | 2011-09-16 22:10:03 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-09-16 22:10:03 +0000 |
commit | 729d5a773faaa9ba599ea307b36106dba9a6674c (patch) | |
tree | 8fc6a0dec7ceabcf6efdbeb22d92e0889afa36d4 /src/menu.cc | |
parent | 0124552c47cf81e1274c8f6125634df0959d7bb2 (diff) |
position history menu below button
Diffstat (limited to 'src/menu.cc')
-rw-r--r-- | src/menu.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu.cc b/src/menu.cc index f9babb0b..f0c1ce5b 100644 --- a/src/menu.cc +++ b/src/menu.cc @@ -528,14 +528,14 @@ void a_Menu_bugmeter_popup(BrowserWindow *bw, const DilloUrl *url) * * direction: {backward = -1, forward = 1} */ -void a_Menu_history_popup(BrowserWindow *bw, int direction) +void a_Menu_history_popup(BrowserWindow *bw, int x, int y, int direction) { static Fl_Menu_Item *pm = 0; int i, n; popup_bw = bw; - popup_x = Fl::event_x(); - popup_y = Fl::event_y(); + popup_x = x; + popup_y = y; history_direction = direction; // TODO: hook popdown event with delete or similar. |