diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/form.c | 2 | ||||
-rw-r--r-- | render/html_interaction.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/render/form.c b/render/form.c index 6a50581d1..eb89975f6 100644 --- a/render/form.c +++ b/render/form.c @@ -1295,6 +1295,8 @@ void form_select_menu_scroll_callback(void *client_data, menu->height); break; case SCROLLBAR_MSG_SCROLL_START: + browser_window_set_drag_type(menu->bw, DRAGGING_OTHER); + menu->scroll_capture = true; gui_window_box_scroll_start(menu->bw->window, scrollbar_data->x0, scrollbar_data->y0, diff --git a/render/html_interaction.c b/render/html_interaction.c index 834181cdc..3b0dd767f 100644 --- a/render/html_interaction.c +++ b/render/html_interaction.c @@ -789,6 +789,8 @@ void html_overflow_scroll_callback(void *client_data, html_redraw_a_box(bw->current_content, box); break; case SCROLLBAR_MSG_SCROLL_START: + browser_window_set_drag_type(bw, DRAGGING_OTHER); + bw->scrollbar = scrollbar_data->scrollbar; gui_window_box_scroll_start(bw->window, scrollbar_data->x0, scrollbar_data->y0, |