mirror of
https://github.com/labwc/labwc.git
synced 2026-02-18 22:05:32 -05:00
Privatize output_manager_init()
This commit is contained in:
parent
950c634cea
commit
2ea0f6fff4
2 changed files with 3 additions and 2 deletions
|
|
@ -40,7 +40,6 @@ struct output {
|
||||||
|
|
||||||
void output_init(struct server *server);
|
void output_init(struct server *server);
|
||||||
void output_finish(struct server *server);
|
void output_finish(struct server *server);
|
||||||
void output_manager_init(struct server *server);
|
|
||||||
struct output *output_from_wlr_output(struct server *server,
|
struct output *output_from_wlr_output(struct server *server,
|
||||||
struct wlr_output *wlr_output);
|
struct wlr_output *wlr_output);
|
||||||
struct output *output_from_name(struct server *server, const char *name);
|
struct output *output_from_name(struct server *server, const char *name);
|
||||||
|
|
|
||||||
|
|
@ -551,6 +551,8 @@ handle_new_output(struct wl_listener *listener, void *data)
|
||||||
do_output_layout_change(server);
|
do_output_layout_change(server);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void output_manager_init(struct server *server);
|
||||||
|
|
||||||
void
|
void
|
||||||
output_init(struct server *server)
|
output_init(struct server *server)
|
||||||
{
|
{
|
||||||
|
|
@ -890,7 +892,7 @@ handle_gamma_control_set_gamma(struct wl_listener *listener, void *data)
|
||||||
wlr_output_schedule_frame(output->wlr_output);
|
wlr_output_schedule_frame(output->wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
output_manager_init(struct server *server)
|
output_manager_init(struct server *server)
|
||||||
{
|
{
|
||||||
server->output_manager = wlr_output_manager_v1_create(server->wl_display);
|
server->output_manager = wlr_output_manager_v1_create(server->wl_display);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue