xrandr: Changes to 'master'

Adam Jackson ajax at kemper.freedesktop.org
Fri Mar 24 15:11:29 UTC 2017


 man/xrandr.man |   10 +++++-----
 xrandr.c       |    6 ++++--
 2 files changed, 9 insertions(+), 7 deletions(-)

New commits:
commit 215a01f1513f918e7295a8a477d4674f7b8085f0
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Wed Jan 18 08:52:23 2017 +0100

    xrandr: suppress misleading indentation warning
    
    When printing out rotations, we print a space before any item other than
    the first, and set `first = False` in each block where we print.
    However, this is done in the same line as the conditional that checks if
    first is set, which may give the impression that the assignment is also
    under the conditional. This is not the case, and recent GCC warns about
    this.
    
    Move the assignment to after we print the value we want to print, which
    (1) doesn't mislead about the indentation, and
    (2) makes logical sense as the _next_ entry is what won't be the first.
    
    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>

commit 85e95db7120da3bdaf9efb3033be5f9338e6c328
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Wed Jan 18 08:52:09 2017 +0100

    xrandr: document that we accept '--dpi output'
    
    Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>



More information about the xorg-commit mailing list