mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-30 07:08:29 +00:00
@@ -14,7 +14,7 @@ CHyprError::CHyprError() {
|
||||
if (!m_bIsCreated)
|
||||
return;
|
||||
|
||||
g_pHyprRenderer->damageMonitor(g_pCompositor->m_pLastMonitor.get());
|
||||
g_pHyprRenderer->damageMonitor(g_pCompositor->m_pLastMonitor.lock());
|
||||
m_bMonitorChanged = true;
|
||||
});
|
||||
|
||||
@@ -47,7 +47,7 @@ void CHyprError::createQueued() {
|
||||
m_fFadeOpacity.setValueAndWarp(0.f);
|
||||
m_fFadeOpacity = 1.f;
|
||||
|
||||
const auto PMONITOR = g_pCompositor->m_vMonitors.front().get();
|
||||
const auto PMONITOR = g_pCompositor->m_vMonitors.front();
|
||||
|
||||
const auto SCALE = PMONITOR->scale;
|
||||
|
||||
|
Reference in New Issue
Block a user