mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[clipboard] Allow to enter the clipboard mode only with cursor routing. Refs #59
This commit is contained in:
parent
ee38fea126
commit
964530422a
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user