window.c: Cache outputs
diff --git a/clients/window.h b/clients/window.h
index d285bb1..7c62f11 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -32,6 +32,7 @@
struct item;
struct display;
struct input;
+struct output;
struct task {
void (*run)(struct task *task, uint32_t events);
@@ -57,6 +58,9 @@
struct wl_shell *
display_get_shell(struct display *display);
+struct output *
+display_get_output(struct display *display);
+
struct wl_data_source *
display_create_data_source(struct display *display);
@@ -351,6 +355,10 @@
input_receive_selection_data(struct input *input, const char *mime_type,
data_func_t func, void *data);
+void
+output_get_allocation(struct output *output, struct rectangle *allocation);
+
+
enum {
CONFIG_KEY_INTEGER,
CONFIG_KEY_STRING,