We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f88b1a0 + ffe4adf commit 8a61bb1Copy full SHA for 8a61bb1
build/cg/struct.rs
@@ -1683,8 +1683,13 @@ impl CodeGen {
1683
// not simply the length of a slice, and they must be exposed so that the
1684
// user can treat the slice as an image. The format field is important for
1685
// GetPropertyReply where the value getter would panic if formats mismatch.
1686
+ // The keycodes_per_modifier field is needed for iterating the list of
1687
+ // keycodes returned in GetModifierMappingReply.
1688
let visibility = if *is_fieldref
- && !(name == "width" || name == "height" || name == "format")
1689
+ && !(name == "width"
1690
+ || name == "height"
1691
+ || name == "format"
1692
+ || name == "keycodes_per_modifier")
1693
{
1694
""
1695
} else {
0 commit comments