commit: a6667ce9fb19a328cefcc3620cfa66526ff061ab
parent: c928474f70fd29212a66988646374da34e48aed8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 1 Jul 2019 10:16:59 +0200
Forgot a struct definition in inaban.c
Diffstat:
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/inaban.c b/inaban.c
@@ -449,16 +449,6 @@ server_cursor_frame(struct wl_listener *listener, void *data)
wlr_seat_pointer_notify_frame(server->seat);
}
-/* Used to move all of the data necessary to render a surface from the top-level
- * frame handler to the per-surface render function. */
-struct render_data
-{
- struct wlr_output *output;
- struct wlr_renderer *renderer;
- struct inaban_view *view;
- struct timespec *when;
-};
-
static void
render_surface(struct wlr_surface *surface, int sx, int sy, void *data)
{
diff --git a/inaban.h b/inaban.h
@@ -92,3 +92,13 @@ struct inaban_keyboard
struct wl_listener modifiers;
struct wl_listener key;
};
+
+/* Used to move all of the data necessary to render a surface from the top-level
+ * frame handler to the per-surface render function. */
+struct render_data
+{
+ struct wlr_output *output;
+ struct wlr_renderer *renderer;
+ struct inaban_view *view;
+ struct timespec *when;
+};