mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 16:05:58 +01:00
config: default manual animations to false
This commit is contained in:
parent
c418007c68
commit
41f7736c85
2 changed files with 3 additions and 3 deletions
|
@ -76,8 +76,8 @@ void CConfigManager::setDefaultVars() {
|
||||||
configValues["misc:key_press_enables_dpms"].intValue = 0;
|
configValues["misc:key_press_enables_dpms"].intValue = 0;
|
||||||
configValues["misc:always_follow_on_dnd"].intValue = 1;
|
configValues["misc:always_follow_on_dnd"].intValue = 1;
|
||||||
configValues["misc:layers_hog_keyboard_focus"].intValue = 1;
|
configValues["misc:layers_hog_keyboard_focus"].intValue = 1;
|
||||||
configValues["misc:animate_manual_resizes"].intValue = 1;
|
configValues["misc:animate_manual_resizes"].intValue = 0;
|
||||||
configValues["misc:animate_mouse_windowdragging"].intValue = 1;
|
configValues["misc:animate_mouse_windowdragging"].intValue = 0;
|
||||||
configValues["misc:disable_autoreload"].intValue = 0;
|
configValues["misc:disable_autoreload"].intValue = 0;
|
||||||
configValues["misc:enable_swallow"].intValue = 0;
|
configValues["misc:enable_swallow"].intValue = 0;
|
||||||
configValues["misc:swallow_regex"].strValue = STRVAL_EMPTY;
|
configValues["misc:swallow_regex"].strValue = STRVAL_EMPTY;
|
||||||
|
|
|
@ -151,7 +151,7 @@ void Events::listener_monitorFrame(void* owner, void* data) {
|
||||||
const auto ESTRENDERTIME = std::ceil(avg + *PRATSAFE);
|
const auto ESTRENDERTIME = std::ceil(avg + *PRATSAFE);
|
||||||
const auto TIMETOSLEEP = std::floor(MSLEFT - ESTRENDERTIME);
|
const auto TIMETOSLEEP = std::floor(MSLEFT - ESTRENDERTIME);
|
||||||
|
|
||||||
if (MSLEFT < 1 || MSLEFT < ESTRENDERTIME)
|
if (MSLEFT < 1 || MSLEFT < ESTRENDERTIME || TIMETOSLEEP < 1)
|
||||||
g_pHyprRenderer->renderMonitor(PMONITOR);
|
g_pHyprRenderer->renderMonitor(PMONITOR);
|
||||||
else
|
else
|
||||||
wl_event_source_timer_update(PMONITOR->renderTimer, TIMETOSLEEP);
|
wl_event_source_timer_update(PMONITOR->renderTimer, TIMETOSLEEP);
|
||||||
|
|
Loading…
Reference in a new issue