aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/wayland.h b/wayland.h
index 575254e9..d10f10e3 100644
--- a/wayland.h
+++ b/wayland.h
@@ -100,8 +100,10 @@ struct wl_window {
tll(const struct monitor *) on_outputs; /* Outputs we're mapped on */
};
+struct config;
struct terminal;
struct wayland {
+ const struct config *conf;
struct fdm *fdm;
struct wl_display *display;
struct wl_registry *registry;
@@ -166,7 +168,7 @@ struct wayland {
struct terminal *moused;
};
-struct wayland *wayl_init(struct fdm *fdm);
+struct wayland *wayl_init(const struct config *conf, struct fdm *fdm);
void wayl_destroy(struct wayland *wayl);
struct terminal *wayl_terminal_from_surface(