mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
text_input_v3: correct typo in enum field
This commit is contained in:
parent
27f65c2c77
commit
78685ec6aa
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
enum wlr_text_input_v3_features {
|
enum wlr_text_input_v3_features {
|
||||||
WLR_TEXT_INPUT_V3_FEATURE_SURROUNDING_TEXT = 1 << 0,
|
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,
|
WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE = 1 << 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,7 @@ static void text_input_set_content_type(struct wl_client *client,
|
||||||
if (!text_input) {
|
if (!text_input) {
|
||||||
return;
|
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.hint = hint;
|
||||||
text_input->pending.content_type.purpose = purpose;
|
text_input->pending.content_type.purpose = purpose;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue