aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_hooks_and_loops.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-02-13 23:12:32 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-02-13 23:12:32 +0100
commit97c08dd3043ee55724bba86c46804fd78a319df6 (patch)
tree3e033363a59ba28cdcc3e449e2e2f455ba1a9605 /src/ft_hooks_and_loops.c
parentIn progress (diff)
download42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.gz
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.bz2
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.xz
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.zst
42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.zip
Colors
Diffstat (limited to '')
-rw-r--r--src/ft_hooks_and_loops.c2
1 files changed, 1 insertions, 1 deletions
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);
}