We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7b65a3 commit eeb324dCopy full SHA for eeb324d
src/win.c
@@ -643,12 +643,8 @@ void win_process_update_flags(session_t *ps, struct managed_win *w) {
643
add_damage_from_win(ps, w);
644
}
645
646
- // Ignore animations all together if set to none on window type basis
647
- if (ps->o.wintype_option[w->window_type].animation == 0) {
648
- w->g = w->pending_g;
649
-
650
- // Update window geometry
651
- } else if (win_should_animate(ps, w)) {
+ // Determine if a window should animate
+ if (win_should_animate(ps, w)) {
652
if (w->pending_g.y < 0 && w->g.y > 0 && abs(w->pending_g.y - w->g.y) >= w->pending_g.height)
653
w->dwm_mask = ANIM_PREV_TAG;
654
else if (w->pending_g.y > 0 && w->g.y < 0 && abs(w->pending_g.y - w->g.y) >= w->pending_g.height)
0 commit comments