window.c: Just use float instead of GLfloat, remove GLES2.h include
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index 77e6a18..3643e46 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -233,7 +233,7 @@
 
 static int
 panel_launcher_enter_handler(struct widget *widget, struct input *input,
-			     GLfloat x, GLfloat y, void *data)
+			     float x, float y, void *data)
 {
 	struct panel_launcher *launcher = data;
 
@@ -504,7 +504,7 @@
 static int
 unlock_dialog_widget_enter_handler(struct widget *widget,
 				   struct input *input,
-				   GLfloat x, GLfloat y, void *data)
+				   float x, float y, void *data)
 {
 	struct unlock_dialog *dialog = data;
 
diff --git a/clients/dnd.c b/clients/dnd.c
index c2975d5..45adc8a 100644
--- a/clients/dnd.c
+++ b/clients/dnd.c
@@ -450,7 +450,7 @@
 
 static int
 dnd_enter_handler(struct widget *widget,
-		  struct input *input, GLfloat x, GLfloat y, void *data)
+		  struct input *input, float x, float y, void *data)
 {
 	return lookup_cursor(data, x, y);
 }
@@ -458,7 +458,7 @@
 static int
 dnd_motion_handler(struct widget *widget,
 		   struct input *input, uint32_t time,
-		   GLfloat x, GLfloat y, void *data)
+		   float x, float y, void *data)
 {
 	return lookup_cursor(data, x, y);
 }
@@ -466,7 +466,7 @@
 static void
 dnd_data_handler(struct window *window,
 		 struct input *input,
-		 GLfloat x, GLfloat y, const char **types, void *data)
+		 float x, float y, const char **types, void *data)
 {
 	struct dnd *dnd = data;
 
diff --git a/clients/eventdemo.c b/clients/eventdemo.c
index 3189497..345a8ee 100644
--- a/clients/eventdemo.c
+++ b/clients/eventdemo.c
@@ -238,7 +238,7 @@
  */
 static int
 motion_handler(struct widget *widget, struct input *input, uint32_t time,
-	       GLfloat x, GLfloat y, void *data)
+	       float x, float y, void *data)
 {
 	struct eventdemo *e = data;
 
diff --git a/clients/flower.c b/clients/flower.c
index 5fc14b5..8bf4f3e 100644
--- a/clients/flower.c
+++ b/clients/flower.c
@@ -134,7 +134,7 @@
 
 static int
 motion_handler(struct widget *widget, struct input *input,
-	       uint32_t time, GLfloat x, GLfloat y, void *data)
+	       uint32_t time, float x, float y, void *data)
 {
 	return POINTER_HAND1;
 }
diff --git a/clients/gears.c b/clients/gears.c
index 3a57fa6..cc4d39a 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -223,7 +223,7 @@
 
 static int
 motion_handler(struct widget *widget, struct input *input,
-		uint32_t time, GLfloat x, GLfloat y, void *data)
+		uint32_t time, float x, float y, void *data)
 {
 	struct gears *gears = data;
 	int offset_x, offset_y;
diff --git a/clients/simple-touch.c b/clients/simple-touch.c
index 0dbf3db..bd5226a 100644
--- a/clients/simple-touch.c
+++ b/clients/simple-touch.c
@@ -205,8 +205,8 @@
 			       wl_fixed_t y_w)
 {
 	struct touch *touch = data;
-	GLfloat x = wl_fixed_to_double(x_w);
-	GLfloat y = wl_fixed_to_double(y_w);
+	float x = wl_fixed_to_double(x_w);
+	float y = wl_fixed_to_double(y_w);
 
 	touch_paint(touch, x, y, id);
 }
@@ -227,8 +227,8 @@
 				 wl_fixed_t y_w)
 {
 	struct touch *touch = data;
-	GLfloat x = wl_fixed_to_double(x_w);
-	GLfloat y = wl_fixed_to_double(y_w);
+	float x = wl_fixed_to_double(x_w);
+	float y = wl_fixed_to_double(y_w);
 
 	touch_paint(touch, x, y, id);
 }
diff --git a/clients/smoke.c b/clients/smoke.c
index 1cf8162..0e29b06 100644
--- a/clients/smoke.c
+++ b/clients/smoke.c
@@ -230,7 +230,7 @@
 
 static int
 smoke_motion_handler(struct widget *widget, struct input *input,
-		     uint32_t time, GLfloat x, GLfloat y, void *data)
+		     uint32_t time, float x, float y, void *data)
 {
 	struct smoke *smoke = data;
 	int i, i0, i1, j, j0, j1, k, d = 5;
diff --git a/clients/terminal.c b/clients/terminal.c
index c8818d0..52aed84 100644
--- a/clients/terminal.c
+++ b/clients/terminal.c
@@ -2237,7 +2237,7 @@
 static int
 motion_handler(struct widget *widget,
 	       struct input *input, uint32_t time,
-	       GLfloat x, GLfloat y, void *data)
+	       float x, float y, void *data)
 {
 	struct terminal *terminal = data;
 
diff --git a/clients/window.c b/clients/window.c
index 72d36d3..f66d416 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -189,7 +189,7 @@
 	int current_cursor;
 	uint32_t modifiers;
 	uint32_t pointer_enter_serial;
-	GLfloat sx, sy;
+	float sx, sy;
 	struct wl_list link;
 
 	struct widget *focus_widget;
@@ -1351,7 +1351,7 @@
 
 static int
 frame_enter_handler(struct widget *widget,
-		    struct input *input, GLfloat x, GLfloat y, void *data)
+		    struct input *input, float x, float y, void *data)
 {
 	return frame_get_pointer_image_for_location(data, input);
 }
@@ -1359,7 +1359,7 @@
 static int
 frame_motion_handler(struct widget *widget,
 		     struct input *input, uint32_t time,
-		     GLfloat x, GLfloat y, void *data)
+		     float x, float y, void *data)
 {
 	return frame_get_pointer_image_for_location(data, input);
 }
@@ -1454,7 +1454,7 @@
 
 static void
 input_set_focus_widget(struct input *input, struct widget *focus,
-		       GLfloat x, GLfloat y)
+		       float x, float y)
 {
 	struct widget *old, *widget;
 	int pointer = POINTER_LEFT_PTR;
@@ -1494,8 +1494,8 @@
 	struct window *window = input->pointer_focus;
 	struct widget *widget;
 	int pointer = POINTER_LEFT_PTR;
-	GLfloat sx = wl_fixed_to_double(sx_w);
-	GLfloat sy = wl_fixed_to_double(sy_w);
+	float sx = wl_fixed_to_double(sx_w);
+	float sy = wl_fixed_to_double(sy_w);
 
 	input->sx = sx;
 	input->sy = sy;
@@ -1638,8 +1638,8 @@
 	struct input *input = data;
 	struct window *window;
 	struct widget *widget;
-	GLfloat sx = wl_fixed_to_double(sx_w);
-	GLfloat sy = wl_fixed_to_double(sy_w);
+	float sx = wl_fixed_to_double(sx_w);
+	float sy = wl_fixed_to_double(sy_w);
 
 	input->display->serial = serial;
 	input->pointer_enter_serial = serial;
@@ -1868,8 +1868,8 @@
 {
 	struct input *input = data;
 	struct window *window;
-	GLfloat x = wl_fixed_to_double(x_w);
-	GLfloat y = wl_fixed_to_double(y_w);
+	float x = wl_fixed_to_double(x_w);
+	float y = wl_fixed_to_double(y_w);
 	char **p;
 
 	input->pointer_enter_serial = serial;
@@ -1902,8 +1902,8 @@
 {
 	struct input *input = data;
 	struct window *window = input->pointer_focus;
-	GLfloat x = wl_fixed_to_double(x_w);
-	GLfloat y = wl_fixed_to_double(y_w);
+	float x = wl_fixed_to_double(x_w);
+	float y = wl_fixed_to_double(y_w);
 
 	input->sx = x;
 	input->sy = y;
@@ -2491,7 +2491,7 @@
 static int
 menu_motion_handler(struct widget *widget,
 		    struct input *input, uint32_t time,
-		    GLfloat x, GLfloat y, void *data)
+		    float x, float y, void *data)
 {
 	struct menu *menu = data;
 
@@ -2503,7 +2503,7 @@
 
 static int
 menu_enter_handler(struct widget *widget,
-		   struct input *input, GLfloat x, GLfloat y, void *data)
+		   struct input *input, float x, float y, void *data)
 {
 	struct menu *menu = data;
 
diff --git a/clients/window.h b/clients/window.h
index 8274e2a..2491da5 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -23,7 +23,6 @@
 #ifndef _WINDOW_H_
 #define _WINDOW_H_
 
-#include <GLES2/gl2.h>
 #include <xkbcommon/xkbcommon.h>
 #include <wayland-client.h>
 #include <cairo.h>
@@ -166,7 +165,7 @@
 
 typedef void (*window_data_handler_t)(struct window *window,
 				      struct input *input,
-				      GLfloat x, GLfloat y,
+				      float x, float y,
 				      const char **types,
 				      void *data);
 
@@ -183,12 +182,12 @@
 
 typedef int (*widget_enter_handler_t)(struct widget *widget,
 				      struct input *input,
-				      GLfloat x, GLfloat y, void *data);
+				      float x, float y, void *data);
 typedef void (*widget_leave_handler_t)(struct widget *widget,
 				       struct input *input, void *data);
 typedef int (*widget_motion_handler_t)(struct widget *widget,
 				       struct input *input, uint32_t time,
-				       GLfloat x, GLfloat y, void *data);
+				       float x, float y, void *data);
 typedef void (*widget_button_handler_t)(struct widget *widget,
 					struct input *input, uint32_t time,
 					uint32_t button, uint32_t state,