Optional values are defined in a switch element with bit cases in the protocol. These are added to each pojo and used in the read and write methods. It is possible for x11 extensions to add fields to one of these switch elements dynamically. To support this in java a new list of Integers can be added for each of these fields.
Each field in a bitcase is 32 bits
The field is only sent if the bit for the field is set in the value mask.
Optional values are defined in a switch element with bit cases in the protocol. These are added to each pojo and used in the read and write methods. It is possible for x11 extensions to add fields to one of these switch elements dynamically. To support this in java a new list of Integers can be added for each of these fields.
Each field in a bitcase is 32 bits The field is only sent if the bit for the field is set in the value mask.