diff options
Diffstat (limited to 'src/xwayland/XWM.cpp')
| -rw-r--r-- | src/xwayland/XWM.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xwayland/XWM.cpp b/src/xwayland/XWM.cpp index a896e222..66020e08 100644 --- a/src/xwayland/XWM.cpp +++ b/src/xwayland/XWM.cpp @@ -1284,10 +1284,10 @@ void CXWM::setClipboardToWayland(SXSelection& sel) { if (CLIENT && &sel == &m_clipboard) { const auto PERM = g_pDynamicPermissionManager->clientPermissionMode(CLIENT, PERMISSION_TYPE_CLIPBOARD_WRITE); if (PERM == PERMISSION_RULE_ALLOW_MODE_DENY) { - Debug::log(LOG, "[xwm] Clipboard write denied by permission manager for XWayland"); + Log::logger->log(Log::INFO, "[xwm] Clipboard write denied by permission manager for XWayland"); return; } else if (PERM == PERMISSION_RULE_ALLOW_MODE_PENDING) { - Debug::log(LOG, "[xwm] Clipboard write permission pending for XWayland"); + Log::logger->log(Log::INFO, "[xwm] Clipboard write permission pending for XWayland"); // For now, deny clipboard access when permission is pending as XWayland doesn't support async operations // TODO: In the future, this could be enhanced to store the request and retry after permission is granted return; @@ -1539,10 +1539,10 @@ bool SXSelection::sendData(xcb_selection_request_event_t* e, std::string mime) { if (CLIENT) { const auto PERM = g_pDynamicPermissionManager->clientPermissionMode(CLIENT, PERMISSION_TYPE_CLIPBOARD_READ); if (PERM == PERMISSION_RULE_ALLOW_MODE_DENY) { - Debug::log(LOG, "[xwm] Clipboard read denied by permission manager for XWayland"); + Log::logger->log(Log::INFO, "[xwm] Clipboard read denied by permission manager for XWayland"); return false; } else if (PERM == PERMISSION_RULE_ALLOW_MODE_PENDING) { - Debug::log(LOG, "[xwm] Clipboard read permission pending for XWayland"); + Log::logger->log(Log::INFO, "[xwm] Clipboard read permission pending for XWayland"); // For now, deny clipboard access when permission is pending as XWayland doesn't support async operations // TODO: In the future, this could be enhanced to store the request and retry after permission is granted return false; |
