Stop unneccessary closure of menu tree when asked for clipboard data.
Currently, when asked for clipboard data, Netsurf unconditionally closes the menu tree of the requesting application. This occurs in the routine ro_gui_send_datasave. There is no reason to close the menu tree: this function is called in only one place, amd the code path is through Wimp user messages-- the highest priority type of message, so other interactions cannot interfere. The fix removes the line which closes the menu tree in this particular function.
This commit is contained in:
parent
e7f1ad318f
commit
a1f45dcf12
|
@ -723,7 +723,7 @@ void ro_gui_send_datasave(gui_save_type save_type,
|
|||
{
|
||||
/* Close the save window because otherwise we need two contexts
|
||||
*/
|
||||
xwimp_create_menu(wimp_CLOSE_MENU, 0, 0);
|
||||
|
||||
ro_gui_dialog_close(dialog_saveas);
|
||||
|
||||
if (ro_message_send_message(wimp_USER_MESSAGE_RECORDED, (wimp_message*)message,
|
||||
|
|
Loading…
Reference in New Issue