From 930be72c89e6ca7443ff66fb1255626b6048d0cf Mon Sep 17 00:00:00 2001
From: patrick96
Date: Tue, 1 May 2018 13:24:29 +0200
Subject: [PATCH] refactor(tray): Log restack failure as error
I suspect that people that are seeing the tray above their fullscreen
windows get this exception
---
src/x11/tray_manager.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/x11/tray_manager.cpp b/src/x11/tray_manager.cpp
index 5e2cc767..ae3f0476 100644
--- a/src/x11/tray_manager.cpp
+++ b/src/x11/tray_manager.cpp
@@ -613,7 +613,7 @@ void tray_manager::restack_window() {
m_connection.configure_window_checked(m_tray, mask, values);
} catch (const exception& err) {
auto id = m_connection.id(m_opts.sibling);
- m_log.trace("tray: Failed to put tray above %s in the stack (%s)", id, err.what());
+ m_log.err("tray: Failed to put tray above %s in the stack (%s)", id, err.what());
}
}