~emersion/public-inbox

wlr-randr: Fix typo in --adaptive-sync CLI v1 APPLIED

Isaac Freund: 1
 Fix typo in --adaptive-sync CLI

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/36928/mbox | git am -3
Learn more about email & git

[PATCH wlr-randr] Fix typo in --adaptive-sync CLI Export this patch

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 6741c5e..145f80c 100644
--- a/main.c
+++ b/main.c
@@ -643,7 +643,7 @@ static bool parse_output_arg(struct randr_head *head,
		}
		if (strcmp(value, "enabled") == 0) {
			head->adaptive_sync_state = ZWLR_OUTPUT_HEAD_V1_ADAPTIVE_SYNC_STATE_ENABLED;
		} else if (strcmp(value, "disabed") == 0) {
		} else if (strcmp(value, "disabled") == 0) {
			head->adaptive_sync_state = ZWLR_OUTPUT_HEAD_V1_ADAPTIVE_SYNC_STATE_DISABLED;
		} else {
			fprintf(stderr, "invalid adaptive sync state: %s\n", value);
-- 
2.38.1
Pushed, thanks!