From b100a82c2a1aa75bb8a27e2d2a1235b36359a161 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 31 Dec 2019 16:12:48 +0100 Subject: wayland: only bind to 'presentation' interface if -p,--presentation-timings --- wayland.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wayland.h') 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( -- cgit v1.3