diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2022-08-08 22:58:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-08 22:58:34 +0200 |
| commit | aa39653ea1c989ab5ced8e3e3540a8c993d12413 (patch) | |
| tree | 317a3c7430c6b68547ff9ff0562b0b7b9322d18e /src/debug/HyprCtl.cpp | |
| parent | ab6a62f0fd7f2e7e80bb7046020a4de8dbf0bcfc (diff) | |
| parent | 6d788f0fc9dd74e17342cdd024e4cc265e7ded9f (diff) | |
Merge pull request #500 from yavko/fix-active-window-json-bools
Fix the fix
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index c0d0463b..61311c89 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)PWINDOW->m_bIsFloating, + ((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)PWINDOW->m_bIsX11 + ((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", |
