aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYavor Kolev <[email protected]>2022-08-08 13:48:33 -0700
committerGitHub <[email protected]>2022-08-08 13:48:33 -0700
commitd460519c302252c1b9e82b546ec3a1aabcd87ce9 (patch)
tree87a458a1178f0673d0b44a475ce6ea46929cd161
parent5cec6257e90eebd591977e90a97d3471ef738a26 (diff)
downloadHyprland-d460519c302252c1b9e82b546ec3a1aabcd87ce9.tar.gz
Hyprland-d460519c302252c1b9e82b546ec3a1aabcd87ce9.zip
Fix the fix
-rw-r--r--src/debug/HyprCtl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 53e5bc32..cd91955e 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -180,12 +180,12 @@ R"#({
(int)PWINDOW->m_vRealPosition.vec().x, (int)PWINDOW->m_vRealPosition.vec().y,
(int)PWINDOW->m_vRealSize.vec().x, (int)PWINDOW->m_vRealSize.vec().y,
PWINDOW->m_iWorkspaceID, escapeJSONStrings(PWINDOW->m_iWorkspaceID == -1 ? "" : g_pCompositor->getWorkspaceByID(PWINDOW->m_iWorkspaceID)->m_szName).c_str(),
- ((int)w->m_bIsFloating == 1 ? "true" : "false"),
+ ((int)PWINDOW->m_bIsFloating == 1 ? "true" : "false"),
PWINDOW->m_iMonitorID,
escapeJSONStrings(g_pXWaylandManager->getAppIDClass(PWINDOW)).c_str(),
escapeJSONStrings(g_pXWaylandManager->getTitle(PWINDOW)).c_str(),
PWINDOW->getPID(),
- ((int)w->m_bIsX11 == 1 ? "true" : "false")
+ ((int)PWINDOW->m_bIsX11 == 1 ? "true" : "false")
);
} else {
return getFormat("Window %x -> %s:\n\tat: %i,%i\n\tsize: %i,%i\n\tworkspace: %i (%s)\n\tfloating: %i\n\tmonitor: %i\n\tclass: %s\n\ttitle: %s\n\tpid: %i\n\txwayland: %i\n\n",