aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-12-31 15:12:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-12-31 15:12:48 +0000
commitb100a82c2a1aa75bb8a27e2d2a1235b36359a161 (patch)
tree0b593225c27bcc5977f7c5ecb97416025b5f1b60 /wayland.h
parentwayland: remove empty line (diff)
wayland: only bind to 'presentation' interface if -p,--presentation-timings
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(