Follow wayland change to serial numbers
diff --git a/clients/window.h b/clients/window.h
index 628c4ae..a2a7880 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -70,6 +70,9 @@
struct output *
display_get_output(struct display *display);
+uint32_t
+display_get_serial(struct display *display);
+
typedef void (*display_output_handler_t)(struct output *output, void *data);
/*
@@ -161,7 +164,7 @@
struct input *device, void *data);
typedef void (*window_data_handler_t)(struct window *window,
- struct input *input, uint32_t time,
+ struct input *input,
int32_t x, int32_t y,
const char **types,
void *data);
@@ -178,7 +181,7 @@
typedef void (*widget_redraw_handler_t)(struct widget *widget, void *data);
typedef int (*widget_enter_handler_t)(struct widget *widget,
- struct input *input, uint32_t time,
+ struct input *input,
int32_t x, int32_t y, void *data);
typedef void (*widget_leave_handler_t)(struct widget *widget,
struct input *input, void *data);
@@ -362,7 +365,7 @@
input_grab(struct input *input, struct widget *widget, uint32_t button);
void
-input_ungrab(struct input *input, uint32_t time);
+input_ungrab(struct input *input);
struct widget *
input_get_focus_widget(struct input *input);
@@ -378,7 +381,7 @@
struct wl_data_source *source, uint32_t time);
void
-input_accept(struct input *input, uint32_t time, const char *type);
+input_accept(struct input *input, const char *type);
void