diff options
author | Vaxry <[email protected]> | 2024-02-09 03:38:58 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-09 03:38:58 +0000 |
commit | 981eaa29df64d1e767df63eaf155e80b489caf34 (patch) | |
tree | 670f6ae918917a3dc43387735d7abf9f0039adb5 | |
parent | 23ce6b3fdf3cc52abd4b28fe4a87abc272e84649 (diff) | |
parent | 289d4241bea72ebd891e037996ec4ffd356aadc8 (diff) | |
download | Hyprland-981eaa29df64d1e767df63eaf155e80b489caf34.tar.gz Hyprland-981eaa29df64d1e767df63eaf155e80b489caf34.zip |
Merge branch 'main' into hyprlang-migration
-rw-r--r-- | src/render/decorations/CHyprGroupBarDecoration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp index 0e6460a9..eecb1951 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.cpp +++ b/src/render/decorations/CHyprGroupBarDecoration.cpp @@ -185,6 +185,7 @@ CTitleTex::CTitleTex(CWindow* pWindow, const Vector2D& bufferSize) { pWindowOwner = pWindow; const auto CAIROSURFACE = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, bufferSize.x, bufferSize.y); const auto CAIRO = cairo_create(CAIROSURFACE); + const auto MONITORSCALE = g_pCompositor->getMonitorFromID(pWindow->m_iMonitorID)->scale; static auto* const PTITLEFONTFAMILY = (Hyprlang::STRING const*)g_pConfigManager->getConfigValuePtr("group:groupbar:font_family"); static auto* const PTITLEFONTSIZE = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("group:groupbar:font_size"); |