aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/layout/MasterLayout.cpp
diff options
context:
space:
mode:
authormemchr <[email protected]>2023-09-20 15:25:03 +0000
committerGitHub <[email protected]>2023-09-20 16:25:03 +0100
commit3785defaf12b9d99137b2f4c74ab82c51cf733e1 (patch)
treec064adb3ec5eedd612bbc850976bc73ddbe7d15a /src/layout/MasterLayout.cpp
parent6594b50e57935dd66930ccd35dba7a1b4131399d (diff)
downloadHyprland-3785defaf12b9d99137b2f4c74ab82c51cf733e1.tar.gz
Hyprland-3785defaf12b9d99137b2f4c74ab82c51cf733e1.zip
logging: implement std::formatter for some types (#3380)
Diffstat (limited to 'src/layout/MasterLayout.cpp')
-rw-r--r--src/layout/MasterLayout.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp
index d1b65e59..576397f6 100644
--- a/src/layout/MasterLayout.cpp
+++ b/src/layout/MasterLayout.cpp
@@ -1,5 +1,6 @@
#include "MasterLayout.hpp"
#include "../Compositor.hpp"
+#include "../render/decorations/CHyprGroupBarDecoration.hpp"
#include <ranges>
SMasterNodeData* CHyprMasterLayout::getNodeFromWindow(CWindow* pWindow) {
@@ -552,7 +553,7 @@ void CHyprMasterLayout::applyNodeDataToWindow(SMasterNodeData* pNode) {
}
if (!PMONITOR) {
- Debug::log(ERR, "Orphaned Node {:x} (workspace ID: {})!!", (uintptr_t)pNode, pNode->workspaceID);
+ Debug::log(ERR, "Orphaned Node {}!!", pNode);
return;
}
@@ -578,7 +579,7 @@ void CHyprMasterLayout::applyNodeDataToWindow(SMasterNodeData* pNode) {
auto gapsOut = WORKSPACERULE.gapsOut.value_or(*PGAPSOUT);
if (!g_pCompositor->windowValidMapped(PWINDOW)) {
- Debug::log(ERR, "Node {:x} holding invalid window {:x}!!", (uintptr_t)pNode, (uintptr_t)PWINDOW);
+ Debug::log(ERR, "Node {} holding invalid {}!!", pNode, PWINDOW);
return;
}