From 0c223ae2bbcb45029d354155f875137fd8b8238a Mon Sep 17 00:00:00 2001
From: patrick96
Date: Mon, 19 Sep 2022 21:39:11 +0200
Subject: [PATCH] fix(tray): Too many printf directives
---
src/x11/tray_client.cpp | 2 +-
src/x11/tray_manager.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/x11/tray_client.cpp b/src/x11/tray_client.cpp
index 758527ab..d405e47f 100644
--- a/src/x11/tray_client.cpp
+++ b/src/x11/tray_client.cpp
@@ -210,7 +210,7 @@ const xembed::info& tray_client::get_xembed() const {
void tray_client::notify_xembed() const {
if (is_xembed_supported()) {
- m_log.trace("%s: Send embbeded notification to client", name());
+ m_log.trace("%s: Send embedded notification to client", name());
xembed::notify_embedded(m_connection, client(), embedder(), m_xembed.get_version());
}
}
diff --git a/src/x11/tray_manager.cpp b/src/x11/tray_manager.cpp
index 4026edb7..1dc7c1b1 100644
--- a/src/x11/tray_manager.cpp
+++ b/src/x11/tray_manager.cpp
@@ -662,7 +662,7 @@ void tray_manager::handle(const evt::property_notify& evt) {
return;
}
- m_log.trace("%s: _XEMBED_INFO: %s", client->name());
+ m_log.trace("%s: _XEMBED_INFO", client->name());
if (evt->state == XCB_PROPERTY_NEW_VALUE) {
m_log.trace("tray: _XEMBED_INFO value has changed");