mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-12-22 12:19:49 +01:00
parent
f4abf5902f
commit
13fcdd79ef
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue