text_input_v3: correct typo in enum field

This commit is contained in:
Tadeo Kondrak 2021-01-02 12:12:19 -07:00 committed by Simon Ser
parent 27f65c2c77
commit 78685ec6aa
2 changed files with 2 additions and 2 deletions

View File

@ -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,
};

View File

@ -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;
}