aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_key_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_key_loop.c')
-rw-r--r--src/ft_key_loop.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index 66f72ef..8f9d688 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -58,7 +58,10 @@ static void
{
pl->pos_x = old_x + ((old_x - x) / 3);
pl->pos_y = old_y + ((old_y - y) / 3);
- ft_suffer_animation(cl);
+ if (FT_OS == 1)
+ ft_macos_suffer_animation(cl);
+ else
+ ft_linux_suffer_animation(cl);
x = ft_find_x(key, pl);
y = ft_find_y(key, pl);
}