mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Update the edit menu after every click, to be safe.
This commit is contained in:
parent
0b028e41c6
commit
6d7adac89e
@ -1591,6 +1591,8 @@ void ami_handle_msg(void)
|
||||
}
|
||||
gwin->prev_mouse_state = gwin->mouse_state;
|
||||
gwin->mouse_state=0;
|
||||
|
||||
ami_menu_update_disabled(gwin->bw->window, gwin->bw->current_content);
|
||||
break;
|
||||
|
||||
case MIDDLEUP:
|
||||
|
@ -283,7 +283,6 @@ bool selection_click(struct selection *s, browser_mouse_state mouse,
|
||||
* selection, Otherwise clear on release (to allow for drags) */
|
||||
|
||||
selection_clear(s, true);
|
||||
gui_clear_selection(top->window);
|
||||
} else if (mouse & BROWSER_MOUSE_DRAG_1) {
|
||||
/* start new selection drag */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user