diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-20 15:29:27 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-20 15:29:27 -0400 |
commit | c9d5a0b2fb5686627344922138c3c603cae364bc (patch) | |
tree | 93806ad5b5745eb63c29fe1a7a211571f0038591 /backend | |
parent | 51f35e7af0f7f01381b702b7630763fb9354701a (diff) |
Clean up Wayland backend GL context and such
Diffstat (limited to 'backend')
-rw-r--r-- | backend/wayland/output.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c index 32f2deae..ee977415 100644 --- a/backend/wayland/output.c +++ b/backend/wayland/output.c @@ -1,3 +1,4 @@ +#include <stdio.h> #include <assert.h> #include <stdint.h> #include <stdlib.h> @@ -143,9 +144,9 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend_state* backend, wlr_output->width = width; wlr_output->height = height; wlr_output->scale = 1; - strncpy(wlr_output->make, "wayland-output", sizeof(wlr_output->make)); - strncpy(wlr_output->model, "wayland-output", sizeof(wlr_output->model)); - strncpy(wlr_output->name, "wayland-output", sizeof(wlr_output->name)); + strncpy(wlr_output->make, "wayland", sizeof(wlr_output->make)); + strncpy(wlr_output->model, "wayland", sizeof(wlr_output->model)); + snprintf(wlr_output->name, sizeof(wlr_output->name), "WL-%d", 1); struct wlr_output_mode mode = { .width = width, |