diff options
Diffstat (limited to 'src/output.h')
-rw-r--r-- | src/output.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/output.h b/src/output.h index 0085bd7..6212240 100644 --- a/src/output.h +++ b/src/output.h @@ -3,13 +3,11 @@ #include<wayland-server.h> -struct Wlclock; struct Wlclock_surface; struct Wlclock_output { struct wl_list link; - struct Wlclock *clock; struct wl_output *wl_output; struct zxdg_output_v1 *xdg_output; @@ -23,11 +21,12 @@ struct Wlclock_output struct Wlclock_surface *surface; }; -bool create_output (struct Wlclock *clock, struct wl_registry *registry, +bool create_output (struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version); bool configure_output (struct Wlclock_output *output); -struct Wlclock_output *get_output_from_global_name (struct Wlclock *clock, uint32_t name); +struct Wlclock_output *get_output_from_global_name (uint32_t name); void destroy_output (struct Wlclock_output *output); -void destroy_all_outputs (struct Wlclock *clock); +void destroy_all_outputs (void); #endif + |