mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Add wl_output globals for wlr_outputs
This commit is contained in:
parent
5055d89955
commit
168f0955ab
8 changed files with 87 additions and 7 deletions
|
|
@ -32,6 +32,7 @@ struct wlr_backend_state {
|
|||
dev_t dev;
|
||||
|
||||
struct wlr_backend *backend;
|
||||
struct wl_display *display;
|
||||
struct wl_event_source *drm_event;
|
||||
|
||||
struct wl_listener session_signal;
|
||||
|
|
|
|||
|
|
@ -19,5 +19,7 @@ struct wlr_output *wlr_output_create(struct wlr_output_impl *impl,
|
|||
struct wlr_output_state *state);
|
||||
void wlr_output_free(struct wlr_output *output);
|
||||
void wlr_output_update_matrix(struct wlr_output *output);
|
||||
struct wl_global *wlr_output_create_global(
|
||||
struct wlr_output *wlr_output, struct wl_display *display);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ struct wlr_output_state;
|
|||
struct wlr_output {
|
||||
const struct wlr_output_impl *impl;
|
||||
struct wlr_output_state *state;
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list resource_list;
|
||||
|
||||
uint32_t flags;
|
||||
char name[16];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue