window.c: Just use float instead of GLfloat, remove GLES2.h include
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,