diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 9 | ||||
-rw-r--r-- | desktop/browser.h | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 1f8a10c7a..95fff4d8b 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1455,8 +1455,6 @@ void browser_window_refresh_url_bar(struct browser_window *bw, const char *url, assert(bw); assert(url); - - bw->visible_select_menu = NULL; if (bw->parent != NULL) { /* Not root window; don't set a URL in GUI URL bar */ @@ -1804,12 +1802,7 @@ void browser_window_mouse_drag_end(struct browser_window *bw, break; case DRAGGING_OTHER: - - if (bw->visible_select_menu != NULL) { - form_select_mouse_drag_end(bw->visible_select_menu, - mouse, x, y); - bw->drag_type = DRAGGING_NONE; - } + /* Drag handled by content handler */ break; default: diff --git a/desktop/browser.h b/desktop/browser.h index 6ab7f5c7d..c1f07db09 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -185,8 +185,6 @@ struct browser_window { /** search context for free text search */ struct search_context *search_context; - struct form_control *visible_select_menu; - /** cache of the currently displayed status text. */ char *status_text; /**< Current status bar text. */ int status_text_len; /**< Length of the ::status_text buffer. */ |