Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Kycilak authored Jan 16, 2024
1 parent 7dc53a4 commit 7b689db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlx_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int mlx_loop(t_xvar *xvar)

if (win && ev.type == ClientMessage && ev.xclient.message_type == xvar->wm_protocols && ev.xclient.data.l[0] == xvar->wm_delete_window && win->hooks[DestroyNotify].hook)
win->hooks[DestroyNotify].hook(win->hooks[DestroyNotify].param);
if (win && ev.type < MLX_MAX_EVENT && win->hooks[ev.type].hook)
else if (win && ev.type < MLX_MAX_EVENT && win->hooks[ev.type].hook)
mlx_int_param_event[ev.type](xvar, &ev, win);
}
XSync(xvar->display, False);
Expand Down

0 comments on commit 7b689db

Please sign in to comment.