[PATCH xrandr 0/3] Print GUIDs in canonical GUID format

Aaron Plattner aplattner at nvidia.com
Mon Jan 6 12:35:51 PST 2014


This set of changes modifies xrandr.c to print the GUID property specified in
randrproto (see [1]) in the canonical hexadecimal format described in [2].
E.g., before this change, my monitor reports a GUID of

	GUID: 16 -34 -112 112 0 4 -17 76 112 -110 -56 -123 0 0 0 102

and after, it reports

	GUID: {10DE9070-0004-EF4C-7092-C88500000066}

[1] http://cgit.freedesktop.org/xorg/proto/randrproto/commit/?id=19fc4c5a72eb9919d720ad66734029d9f8e313b1
[2] http://en.wikipedia.org/wiki/Globally_unique_identifier

Aaron Plattner (3):
  Split output property printing into a helper function
  Move EDID printing into a helper function
  Special-case printing of the GUID property

 xrandr.c | 129 +++++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 89 insertions(+), 40 deletions(-)

-- 
1.8.5.2



More information about the xorg-devel mailing list