diff options
author | Vaxry <[email protected]> | 2023-09-06 12:51:36 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-09-06 12:51:36 +0200 |
commit | 61a71c65ace5124cb26a074715280537e6e34d00 (patch) | |
tree | b54cf4d7a0f8477b2958619384982d31663f128f /src/managers/XWaylandManager.cpp | |
parent | c3a83daa1e61285a418c39a1d9f29427c2c9a2c3 (diff) | |
download | Hyprland-61a71c65ace5124cb26a074715280537e6e34d00.tar.gz Hyprland-61a71c65ace5124cb26a074715280537e6e34d00.zip |
internal: Formatter rework (#3186)
Diffstat (limited to 'src/managers/XWaylandManager.cpp')
-rw-r--r-- | src/managers/XWaylandManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp index 1ac4416d..ee144f31 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -21,7 +21,7 @@ CHyprXWaylandManager::CHyprXWaylandManager() { setenv("DISPLAY", m_sWLRXWayland->display_name, 1); - Debug::log(LOG, "CHyprXWaylandManager started on display %s", m_sWLRXWayland->display_name); + Debug::log(LOG, "CHyprXWaylandManager started on display {}", m_sWLRXWayland->display_name); #else unsetenv("DISPLAY"); // unset DISPLAY so that X11 apps do not try to start on a different/invalid DISPLAY #endif @@ -129,7 +129,7 @@ std::string CHyprXWaylandManager::getAppIDClass(CWindow* pWindow) { } } else return ""; - } catch (std::logic_error& e) { Debug::log(ERR, "Error in getAppIDClass: %s", e.what()); } + } catch (std::logic_error& e) { Debug::log(ERR, "Error in getAppIDClass: {}", e.what()); } return ""; } @@ -223,7 +223,7 @@ bool CHyprXWaylandManager::shouldBeFloated(CWindow* pWindow) { if (winrole.contains("pop-up") || winrole.contains("task_dialog")) { return true; } - } catch (std::exception& e) { Debug::log(ERR, "Error in shouldBeFloated, winrole threw %s", e.what()); } + } catch (std::exception& e) { Debug::log(ERR, "Error in shouldBeFloated, winrole threw {}", e.what()); } } if (pWindow->m_uSurface.xwayland->modal) { |