mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 14:05:59 +01:00
fixes
This commit is contained in:
parent
8e8c4352e5
commit
89c59092ff
1 changed files with 6 additions and 1 deletions
|
@ -126,10 +126,15 @@ void CCursorManager::updateTheme() {
|
|||
m_pHyprcursor->loadThemeStyle(m_sCurrentStyleInfo);
|
||||
|
||||
setCursorFromName("left_ptr");
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
m->forceFullFrames = 5;
|
||||
g_pCompositor->scheduleFrameForMonitor(m.get());
|
||||
}
|
||||
}
|
||||
|
||||
void CCursorManager::changeTheme(const std::string& name, const int size) {
|
||||
m_pHyprcursor = std::make_unique<Hyprcursor::CHyprcursorManager>(name.empty() ? "" : name.c_str(), size);
|
||||
m_pHyprcursor = std::make_unique<Hyprcursor::CHyprcursorManager>(name.empty() ? "" : name.c_str());
|
||||
m_szTheme = name;
|
||||
m_iSize = size;
|
||||
|
||||
|
|
Loading…
Reference in a new issue