From 97c08dd3043ee55724bba86c46804fd78a319df6 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 13 Feb 2020 23:12:32 +0100 Subject: Colors --- src/ft_hooks_and_loops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_hooks_and_loops.c') diff --git a/src/ft_hooks_and_loops.c b/src/ft_hooks_and_loops.c index 068b3a7..fdddc10 100644 --- a/src/ft_hooks_and_loops.c +++ b/src/ft_hooks_and_loops.c @@ -18,7 +18,7 @@ void ft_hooks_and_loops(t_win *wl, t_cub *cl) { - mlx_hook(wl->winptr, 2, 1L << 1, ft_key_event, cl); + mlx_hook(wl->winptr, 2, 1L << 0, ft_key_event, cl); mlx_hook(wl->winptr, 17, 0L, ft_click_close, cl); mlx_loop(wl->wlx); } -- cgit v1.2.3