aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTadeo Kondrak <me@tadeo.ca>2021-01-02 12:12:19 -0700
committerSimon Ser <contact@emersion.fr>2021-02-15 16:33:05 +0100
commit78685ec6aae0a667b265eebe5cf8fb8cfb3ba3dc (patch)
treea10d375d1b3946daceeeda8ed1e432f482990738
parent27f65c2c77a077ecec42ddcf46ca2621129f7965 (diff)
text_input_v3: correct typo in enum field
-rw-r--r--include/wlr/types/wlr_text_input_v3.h2
-rw-r--r--types/wlr_text_input_v3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_text_input_v3.h b/include/wlr/types/wlr_text_input_v3.h
index 74dc26c3..47d0fc39 100644
--- a/include/wlr/types/wlr_text_input_v3.h
+++ b/include/wlr/types/wlr_text_input_v3.h
@@ -15,7 +15,7 @@
enum wlr_text_input_v3_features {
WLR_TEXT_INPUT_V3_FEATURE_SURROUNDING_TEXT = 1 << 0,
- WLR_TEXT_INPUT_v3_FEATURE_CONTENT_TYPE = 1 << 1,
+ WLR_TEXT_INPUT_V3_FEATURE_CONTENT_TYPE = 1 << 1,
WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE = 1 << 2,
};
diff --git a/types/wlr_text_input_v3.c b/types/wlr_text_input_v3.c
index 7f0d7f92..c6e43ec2 100644
--- a/types/wlr_text_input_v3.c
+++ b/types/wlr_text_input_v3.c
@@ -141,7 +141,7 @@ static void text_input_set_content_type(struct wl_client *client,
if (!text_input) {
return;
}
- text_input->pending.features |= WLR_TEXT_INPUT_v3_FEATURE_CONTENT_TYPE;
+ text_input->pending.features |= WLR_TEXT_INPUT_V3_FEATURE_CONTENT_TYPE;
text_input->pending.content_type.hint = hint;
text_input->pending.content_type.purpose = purpose;
}