From 4d86c98ce76e07c220bf68ab3ecefe53b0b7d335 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 1 Nov 2016 13:56:08 -0400 Subject: [PATCH] do not return early from _bryce_position() this causes the returned coords to be garbage values, likely leading to the bryce being positioned or animating off to the upper-right corner of the universe that exists beyond the canvas --- src/bin/e_bryce.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/e_bryce.c b/src/bin/e_bryce.c index 7b74ad09f..d2244351b 100644 --- a/src/bin/e_bryce.c +++ b/src/bin/e_bryce.c @@ -174,7 +174,6 @@ _bryce_position(Bryce *b, int w, int h, int *nx, int *ny) } else e_efx_move(b->bryce, E_EFX_EFFECT_SPEED_LINEAR, E_EFX_POINT(x, y), 0.5, _bryce_autohide_end, b); - return; } else if (b->hidden) _bryce_autohide_coords(b, &x, &y);