[PATCH xrandr] Split verbose mode printing into a helper function

2015-04-09 Thread Aaron Plattner
Combine the two forms of verbose mode printing into a single function. Pass the 'current' and 'preferred' flags as arguments. This fixes the code that prints unassociated modes to print the flags as well. Signed-off-by: Aaron Plattner --- xrandr.c | 62 ++---

Re: [PATCH] dix: Fix endianess detection

2015-04-09 Thread Adam Jackson
On Thu, 2015-04-09 at 15:33 +0200, Olivier Fourdan wrote: > Make sure X_BIG_ENDIAN/X_LITTLE_ENDIAN are defined before actually using > them. > > Otherwise, byte order could be wrong even though endianess detection is > correct. > > Reported-by: Tim Waugh > Signed-off-by: Olivier Fourdan I'm a

Re: [PULL] randr cleanups et al

2015-04-09 Thread Emil Velikov
Silly me forgot to add Keith to the Cc list. Keith can you consider the pull request below. Thanks Emil On 24 March 2015 at 17:52, Emil Velikov wrote: > Hi Keith, > > Various patches from me. > > Please consider pulling into master. > > The following changes since commit 0a78b599b34cc8b5fe6fe8

[PATCH] dix: Fix endianess detection

2015-04-09 Thread Olivier Fourdan
Make sure X_BIG_ENDIAN/X_LITTLE_ENDIAN are defined before actually using them. Otherwise, byte order could be wrong even though endianess detection is correct. Reported-by: Tim Waugh Signed-off-by: Olivier Fourdan --- include/dix-config.h.in | 8 1 file changed, 8 insertions(+) diff