diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-06-01 23:57:09 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-06-01 23:57:09 +0100 |
commit | c08ef5f984fe785b6e13df204046b455489f8810 (patch) | |
tree | f7dad140cc5f11c9c4ae6aa0b490e22d0b37f8ee /frontends/windows/drawable.c | |
parent | 08a86bfa0e5d961f255f8e64ddcdb6f179db485d (diff) | |
download | netsurf-c08ef5f984fe785b6e13df204046b455489f8810.tar.gz netsurf-c08ef5f984fe785b6e13df204046b455489f8810.tar.bz2 |
make windows frontend use corewindow API for local history window
Diffstat (limited to 'frontends/windows/drawable.c')
-rw-r--r-- | frontends/windows/drawable.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/frontends/windows/drawable.c b/frontends/windows/drawable.c index 4540b1293..28a76cfe8 100644 --- a/frontends/windows/drawable.c +++ b/frontends/windows/drawable.c @@ -38,7 +38,7 @@ #include "windows/windbg.h" #include "windows/plot.h" #include "windows/window.h" -#include "windows/localhistory.h" +#include "windows/local_history.h" #include "windows/drawable.h" static const char windowclassname_drawable[] = "nswsdrawablewindow"; @@ -415,7 +415,7 @@ nsws_drawable_mousedown(struct gui_window *gw, if ((gw == NULL) || (gw->mouse == NULL) || (gw->bw == NULL)) { - nsws_localhistory_close(gw); + nsw32_local_history_hide(); return 0; } @@ -532,9 +532,8 @@ nsws_window_drawable_event_callback(HWND hwnd, GET_Y_LPARAM(lparam), BROWSER_MOUSE_PRESS_1); SetFocus(hwnd); - nsws_localhistory_close(gw); + nsw32_local_history_hide(); return 0; - break; case WM_RBUTTONDOWN: nsws_drawable_mousedown(gw, |