patching in animations

This commit is contained in:
jon
2020-07-07 18:43:55 +02:00
parent 51fdb8bcaa
commit 5d1276a58a
3 changed files with 4 additions and 4 deletions

View File

@@ -677,7 +677,7 @@ static struct managed_win *paint_preprocess(session_t *ps, bool *fade_running) {
}
win_stack_foreach_managed(w, &ps->window_stack) {
bool posChanged = (w->oldX != -10000 && w->oldY != -10000 && w->oldW != 0 && w->oldH != 0)
bool posChanged = (w->oldX != -30000 && w->oldY != -30000 && w->oldW != 0 && w->oldH != 0)
&& (w->g.x != w->newX || w->g.y != w->newY || w->g.width != w->newW || w->g.height != w->newH);
if (posChanged) {