logging: fix some missed logs

This commit is contained in:
Vaxry 2024-12-15 21:55:41 +00:00
parent 5b763f1618
commit b17d32fdd2
2 changed files with 2 additions and 2 deletions

View file

@ -582,7 +582,7 @@ void CHyprpaper::renderWallpaperForMonitor(SMonitor* pMonitor) {
auto SPLASH = execAndGet("hyprctl splash"); auto SPLASH = execAndGet("hyprctl splash");
SPLASH.pop_back(); SPLASH.pop_back();
Debug::log(LOG, "Rendering splash: %s", SPLASH.c_str()); Debug::log(LOG, "Rendering splash: {}", SPLASH);
cairo_select_font_face(PCAIRO, "Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); cairo_select_font_face(PCAIRO, "Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);

View file

@ -41,7 +41,7 @@ CLayerSurface::CLayerSurface(SMonitor* pMonitor) {
m_pMonitor->wantsACK = true; m_pMonitor->wantsACK = true;
m_pMonitor->initialized = true; m_pMonitor->initialized = true;
Debug::log(LOG, "configure for %s", m_pMonitor->name.c_str()); Debug::log(LOG, "configure for {}", m_pMonitor->name);
}); });
pLayerSurface->setClosed([this](CCZwlrLayerSurfaceV1* r) { pLayerSurface->setClosed([this](CCZwlrLayerSurfaceV1* r) {