diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-08-30 13:50:13 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-08-31 07:47:44 -0400 |
commit | 35eee80f9bf16683c56b9ed7d343efcdf0ae86d0 (patch) | |
tree | 2902ade9d6fc7f72a7d2abd302f3fc7ed831f24f | |
parent | d84deb07420aefb7e16bae846c57f7b4c021e803 (diff) |
remove unused outputs list in output-layout.c
-rw-r--r-- | examples/output-layout.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/output-layout.c b/examples/output-layout.c index ee23a35e..ff36c379 100644 --- a/examples/output-layout.c +++ b/examples/output-layout.c @@ -33,7 +33,6 @@ struct sample_state { float x_offs, y_offs; float x_vel, y_vel; struct wlr_output *main_output; - struct wl_list outputs; }; static void handle_output_frame(struct output_state *output, @@ -130,7 +129,6 @@ static void handle_output_frame(struct output_state *output, static void handle_output_add(struct output_state *ostate) { struct sample_state *sample = ostate->compositor->data; - wl_list_insert(&sample->outputs, &ostate->link); struct output_config *o_config = example_config_get_output(sample->config, ostate->output); @@ -192,7 +190,6 @@ int main(int argc, char *argv[]) { state.y_vel = 500; state.layout = wlr_output_layout_init(); - wl_list_init(&state.outputs); state.config = parse_args(argc, argv); struct compositor_state compositor = { 0 }; |