From 027760f592060633fd0de4f17596bda235ae22b0 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 14 Dec 2024 14:44:56 +0000 Subject: [PATCH] EFHYVFRYUfveygveryufgvyter --- src/Hyprpaper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hyprpaper.cpp b/src/Hyprpaper.cpp index d2f0f42..1c03ad1 100644 --- a/src/Hyprpaper.cpp +++ b/src/Hyprpaper.cpp @@ -593,7 +593,7 @@ void CHyprpaper::renderWallpaperForMonitor(SMonitor* pMonitor) { Debug::log(LOG, "Splash color: {:x}", *PSPLASHCOLOR); - cairo_set_source_rgba(PCAIRO, ((*PSPLASHCOLOR >> 16) & 0xFF) / 255.0, ((**PSPLASHCOLOR >> 8) & 0xFF) / 255.0, (*PSPLASHCOLOR & 0xFF) / 255.0, + cairo_set_source_rgba(PCAIRO, ((*PSPLASHCOLOR >> 16) & 0xFF) / 255.0, ((*PSPLASHCOLOR >> 8) & 0xFF) / 255.0, (*PSPLASHCOLOR & 0xFF) / 255.0, ((*PSPLASHCOLOR >> 24) & 0xFF) / 255.0); cairo_text_extents_t textExtents; @@ -623,7 +623,7 @@ void CHyprpaper::renderWallpaperForMonitor(SMonitor* pMonitor) { if (pMonitor->pCurrentLayerSurface->pFractionalScaleInfo) { Debug::log(LOG, "Submitting viewport dest size {}x{} for {:x}", static_cast(std::round(pMonitor->size.x)), static_cast(std::round(pMonitor->size.y)), - pMonitor->pCurrentLayerSurface); + (uintptr_t)pMonitor->pCurrentLayerSurface); pMonitor->pCurrentLayerSurface->pViewport->sendSetDestination(static_cast(std::round(pMonitor->size.x)), static_cast(std::round(pMonitor->size.y))); } pMonitor->pCurrentLayerSurface->pSurface->sendCommit();