1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-29 01:45:34 +00:00

[clipboard] Allow to enter the clipboard mode only with cursor routing. Refs #59

This commit is contained in:
Witold Filipczyk 2020-08-04 16:07:19 +02:00
parent ee38fea126
commit 964530422a

View File

@ -1069,6 +1069,10 @@ mark_clipboard(struct session *ses, struct document_view *doc_view)
int x = ses->tab->x + xoffset;
int y = ses->tab->y + yoffset;
if (ses->navigate_mode != NAVIGATE_CURSOR_ROUTING) {
return FRAME_EVENT_OK;
}
switch (document->clipboard_status)
{
case CLIPBOARD_NONE: