mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-11-22 13:35:57 +01:00
Stop animating floating window movements.
This commit is contained in:
parent
ad87629d51
commit
aec53d2420
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ void AnimationUtil::move() {
|
|||
for (auto& window : g_pWindowManager->windows) {
|
||||
// check if window needs an animation.
|
||||
|
||||
if (ConfigManager::getInt("anim.enabled") == 0) {
|
||||
if (ConfigManager::getInt("anim.enabled") == 0 || window.getIsFloating()) {
|
||||
// Disabled animations. instant warps.
|
||||
window.setRealPosition(window.getEffectivePosition());
|
||||
window.setRealSize(window.getEffectiveSize());
|
||||
|
|
Loading…
Reference in a new issue