diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-31 15:12:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-31 15:12:48 +0000 |
| commit | b100a82c2a1aa75bb8a27e2d2a1235b36359a161 (patch) | |
| tree | 0b593225c27bcc5977f7c5ecb97416025b5f1b60 /wayland.h | |
| parent | wayland: remove empty line (diff) | |
wayland: only bind to 'presentation' interface if -p,--presentation-timings
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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( |
