diff options
| author | Philip Damianik <39028343+pdamianik@users.noreply.github.com> | 2023-09-06 21:45:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-06 21:45:37 +0200 |
| commit | 8c83852704ad8d78b839bd532d73b3b9e44724b9 (patch) | |
| tree | 6e750b39b0b6af35c9a0b3b1385a7925936bcecd /src/managers/input/IdleInhibitor.cpp | |
| parent | 60c01dab01e3b58abf12c49f4a2fb224900ae401 (diff) | |
internal: Remove all `.c_str()` calls when using `std::vformat` (#3198)
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
Diffstat (limited to 'src/managers/input/IdleInhibitor.cpp')
| -rw-r--r-- | src/managers/input/IdleInhibitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/IdleInhibitor.cpp b/src/managers/input/IdleInhibitor.cpp index 809606b1..86553729 100644 --- a/src/managers/input/IdleInhibitor.cpp +++ b/src/managers/input/IdleInhibitor.cpp @@ -33,7 +33,7 @@ void CInputManager::newIdleInhibitor(wlr_idle_inhibitor_v1* pInhibitor) { PINHIBIT->pWindow = g_pCompositor->getWindowFromSurface(pInhibitor->surface); if (PINHIBIT->pWindow) - Debug::log(LOG, "IdleInhibitor got window {:x} ({})", (uintptr_t)PINHIBIT->pWindow, PINHIBIT->pWindow->m_szTitle.c_str()); + Debug::log(LOG, "IdleInhibitor got window {:x} ({})", (uintptr_t)PINHIBIT->pWindow, PINHIBIT->pWindow->m_szTitle); recheckIdleInhibitorStatus(); } |
