From cbe73b0bc3595ec191b6907edcace3fbb49b2506 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Mon, 29 Nov 2021 09:05:53 +0100 Subject: [PATCH] Fix set_clipboard message log If paste is disabled on set_clipboard, then the PASTE key is not injected, but COPY is unrelated. PR #2834 --- app/src/control_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/control_msg.c b/app/src/control_msg.c index 90cde0cf..4cc2f9d7 100644 --- a/app/src/control_msg.c +++ b/app/src/control_msg.c @@ -197,7 +197,7 @@ control_msg_log(const struct control_msg *msg) { case CONTROL_MSG_TYPE_SET_CLIPBOARD: LOG_CMSG("clipboard %" PRIu64_ " %s \"%s\"", msg->set_clipboard.sequence, - msg->set_clipboard.paste ? "paste" : "copy", + msg->set_clipboard.paste ? "paste" : "nopaste", msg->set_clipboard.text); break; case CONTROL_MSG_TYPE_SET_SCREEN_POWER_MODE: