From 811e2c57dfe43c8a4de79975d4db7b243c27c60d Mon Sep 17 00:00:00 2001
From: Gregory Tertyshny <gtertysh@e1r5p15.unit.ua>
Date: Sat, 25 Mar 2017 17:37:20 +0200
Subject: [PATCH] some changes in mouse control and in header file

---
 inc/fractol.h         | 4 +---
 src/fractal_routine.c | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/inc/fractol.h b/inc/fractol.h
index 90dc81b..92fcfbd 100644
--- a/inc/fractol.h
+++ b/inc/fractol.h
@@ -6,7 +6,7 @@
 /*   By: gtertysh <marvin@42.fr>                    +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2017/03/16 20:59:04 by gtertysh          #+#    #+#             */
-/*   Updated: 2017/03/24 19:58:43 by gtertysh         ###   ########.fr       */
+/*   Updated: 2017/03/25 17:36:38 by gtertysh         ###   ########.fr       */
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -16,10 +16,8 @@
 # include "libft.h"
 # include "mlx.h"
 # include <math.h>
-# include <fcntl.h>
 # include <pthread.h>
 # include <time.h>
-# include <unistd.h>
 
 # define HEIGHT			700
 # define WIDTH			1300
diff --git a/src/fractal_routine.c b/src/fractal_routine.c
index da29187..3e94bae 100644
--- a/src/fractal_routine.c
+++ b/src/fractal_routine.c
@@ -6,7 +6,7 @@
 /*   By: gtertysh <marvin@42.fr>                    +#+  +:+       +#+        */
 /*                                                +#+#+#+#+#+   +#+           */
 /*   Created: 2017/03/24 19:37:32 by gtertysh          #+#    #+#             */
-/*   Updated: 2017/03/24 19:37:33 by gtertysh         ###   ########.fr       */
+/*   Updated: 2017/03/25 17:35:04 by gtertysh         ###   ########.fr       */
 /*                                                                            */
 /* ************************************************************************** */
 
@@ -46,7 +46,7 @@ t_frac_data			*frac_init(int frac_type)
 	else
 		complex_equal(0, 0, &f->com_const);
 	f->com_rl_im_change = 1;
-	f->allow_mouse_change = -1;
+	f->allow_mouse_change = 1;
 	f->mov.x = 0;
 	f->mov.y = 0;
 	f->mov.z = 1;