diff --git a/lib/lbm.c b/lib/lbm.c index dad84b0106f7f0e5ad8196590ffb2ab1ab397041..e0d0343f6ac4e90990e39fdefdfd1c504f24c86b 100644 --- a/lib/lbm.c +++ b/lib/lbm.c @@ -46,7 +46,10 @@ int main() } show_pixels(context, nx, ny); - int mask_id = gfx_left_right_mouse_pressed(&p); + int id = gfx_left_right_mouse_pressed(&p); + if (id) { + printf("A valid mouse clic was performed.\n"); + } it += 1; }