Merge pull request #136 from acrisci/bug/rename-output-layout-create

Rename wlr_output_layout_init()
This commit is contained in:
Drew DeVault 2017-09-06 08:29:55 +09:00 committed by GitHub
commit 586ae674ae
4 changed files with 4 additions and 4 deletions

View file

@ -185,7 +185,7 @@ int main(int argc, char *argv[]) {
state.x_vel = 500;
state.y_vel = 500;
state.layout = wlr_output_layout_init();
state.layout = wlr_output_layout_create();
clock_gettime(CLOCK_MONOTONIC, &state.ts_last);
state.config = parse_args(argc, argv);

View file

@ -273,7 +273,7 @@ int main(int argc, char *argv[]) {
state.config = parse_args(argc, argv);
state.cursor = wlr_cursor_create();
state.layout = wlr_output_layout_init();
state.layout = wlr_output_layout_create();
wlr_cursor_attach_output_layout(state.cursor, state.layout);
wlr_cursor_map_to_region(state.cursor, state.config->cursor.mapped_box);
wl_list_init(&state.devices);