Only poll the clipboard if the setting is enabled
This commit is contained in:
parent
1b4f88f1c5
commit
79e1f22791
1 changed files with 2 additions and 1 deletions
|
@ -1874,7 +1874,8 @@ int handle_msgpump()
|
||||||
{
|
{
|
||||||
got_event = 1;
|
got_event = 1;
|
||||||
process_event(event);
|
process_event(event);
|
||||||
update_clipboard();
|
if (currprefs.clipboard_sharing)
|
||||||
|
update_clipboard();
|
||||||
}
|
}
|
||||||
return got_event;
|
return got_event;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue