mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04:00
wayland: only bind to 'presentation' interface if -p,--presentation-timings
This commit is contained in:
parent
7fe081600a
commit
b100a82c2a
3 changed files with 16 additions and 10 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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue