From 79e1f227919794580a582561f231b382d4230a69 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Mon, 6 Jul 2020 01:45:25 +0200 Subject: [PATCH] Only poll the clipboard if the setting is enabled --- src/osdep/amiberry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osdep/amiberry.cpp b/src/osdep/amiberry.cpp index 2cb7c66c..1ef4b3d8 100644 --- a/src/osdep/amiberry.cpp +++ b/src/osdep/amiberry.cpp @@ -1874,7 +1874,8 @@ int handle_msgpump() { got_event = 1; process_event(event); - update_clipboard(); + if (currprefs.clipboard_sharing) + update_clipboard(); } return got_event; }