7 Commits
Author SHA1 Message Date
aarzilli 3906399e7c Regenerated from xcb-proto 1.12 2018-09-08 16:49:27 +02:00
aarzilli 1c01d79ba1 Changed xgbgen to support xcb-proto 1.12
* Added minimal support for switch fields.
* Changed the way Size is calculated to accomodate for lists inside structs
  (added to randr)
* Removed heuristic to place alignment gaps, they are now explicitly
  described in xml
2018-09-08 16:49:26 +02:00
aarzilli a102c4056f Makefile: do not redefine $XPROTO if it's already defined. 2018-09-08 16:49:26 +02:00
aarzilli 8d343cfd3a Handle wildcard values in Xauthority file
Some field values in the Xauthority file have special meanings:
- a value of 65535 in the 'family' field means that the entry will
match a connection of any family on any address
- an empty string in the 'display number' field means that the entry
will match a connection on any display number

This behaviour is documented at:
https://cgit.freedesktop.org/xorg/lib/libXau/tree/AuGetBest.c#n109
2018-09-08 16:49:25 +02:00
aarzilli becaf43dcb Read/Write mutex for Extensions map 2018-09-08 16:49:24 +02:00
aarzilli baff8c1906 sendRequest reads req.buf after closing req.seq
NewRequest says you can avoid reallocating a new buffer for each request by calling it directly.
This is not true if req.seq is closed before req.buf is read.
2018-09-08 16:49:24 +02:00
aarzilli a548d9d0f7 Fix Issue #21: automatic calculation of alignment padding after lists 2018-09-08 16:49:22 +02:00