mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-10-05 23:07:21 +03:00
parent
f4abf5902f
commit
13fcdd79ef
@ -158,6 +158,7 @@ void Events::handlePreferredScale(void* data, wp_fractional_scale_v1* fractional
|
|||||||
if (pLS->fScale != SCALE) {
|
if (pLS->fScale != SCALE) {
|
||||||
pLS->fScale = SCALE;
|
pLS->fScale = SCALE;
|
||||||
std::lock_guard<std::mutex> lg(g_pHyprpaper->m_mtTickMutex);
|
std::lock_guard<std::mutex> lg(g_pHyprpaper->m_mtTickMutex);
|
||||||
|
pLS->m_pMonitor->wantsReload = true;
|
||||||
g_pHyprpaper->tick(true);
|
g_pHyprpaper->tick(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user