X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fc_client.py;h=91719b70d3e1c074830b1b28823c2b5fc59acea3;hb=b672d1514c88e119f3aaeded8c8a488cad36db52;hp=1f3277a9034022493747cdfc9ac6d3a5bd006e50;hpb=29cca33b9001961fa2c33bb9d9fe4a9983913fce;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/c_client.py b/src/c_client.py index 1f3277a..91719b7 100644 --- a/src/c_client.py +++ b/src/c_client.py @@ -925,8 +925,9 @@ def _c_serialize_helper_fields(context, self, prev_field_was_variable = False for field in self.fields: - if not ((field.wire and not field.auto) or field.visible): - continue + if not field.visible: + if not ((field.wire and not field.auto) or 'unserialize' == context): + continue # switch/bitcase: fixed size fields must be considered explicitly if field.type.fixed_size():