Only poll the clipboard if the setting is enabled

This commit is contained in:
Dimitris Panokostas 2020-07-06 01:45:25 +02:00
parent 1b4f88f1c5
commit 79e1f22791

View file

@ -1874,7 +1874,8 @@ int handle_msgpump()
{
got_event = 1;
process_event(event);
update_clipboard();
if (currprefs.clipboard_sharing)
update_clipboard();
}
return got_event;
}