mirror of
https://github.com/hyprwm/Hypr.git
synced 2024-12-25 02:39:49 +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