From aa9e8ab7abc4e65085ca0be76e4944ec31867704 Mon Sep 17 00:00:00 2001 From: mojyack Date: Mon, 23 Oct 2023 11:54:51 +0900 Subject: [PATCH] avoid using "wl_output" literal --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 46c74b9..751d811 100644 --- a/main.c +++ b/main.c @@ -424,7 +424,7 @@ handle_global(void *data, struct wl_registry *registry, uint32_t name, wl_registry_bind(registry, name, &wl_compositor_interface, 3); } else if (strcmp(interface, wl_shm_interface.name) == 0) { draw_ctx.shm = wl_registry_bind(registry, name, &wl_shm_interface, 1); - } else if (strcmp(interface, "wl_output") == 0) { + } else if (strcmp(interface, wl_output_interface.name) == 0) { if (wl_outputs_size < WL_OUTPUTS_LIMIT) { struct Output *output = &wl_outputs[wl_outputs_size]; output->data =