xprop: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 17 23:57:58 UTC 2020


 xprop.c |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 09f145bcf13a08a05daf85f75444741ffb78a2bb
Author: Keith Packard <keithp at keithp.com>
Date:   Tue Nov 17 15:22:49 2020 -0800

    Check return value from ioctl(TIOCGWINSZ)
    
    Make sure the function succeeded before looking at the return value.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>

commit 95025ea167d87998ef0bd3ed25dfaa2c179cf712
Author: Keith Packard <keithp at keithp.com>
Date:   Tue Nov 17 15:19:46 2020 -0800

    Correct icon buffer width computation for truecolor terminals
    
    Fix the test when computing size necessary for true color output to
    use 'is_truecolor_term' instead of 'is_utf8_locale'. A non-utf8 locale
    with a true color terminal would have under-allocated the
    buffer. Also, check for truecolor first to match the output code.
    
    This doesn't fix the fact that this code over-allocates by a factor of
    two in this case, but that at least won't cause memory corruption.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>

commit 706ed45e0b58219bc623b8c5f963777a120d2844
Author: Keith Packard <keithp at keithp.com>
Date:   Tue Nov 17 15:18:46 2020 -0800

    Free string list returned from XmbTextPropertyToTextList
    
    Make sure we clean up after this call by using the XFreeStringList
    function.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>

commit a30ed360fe56a556072e1fc551ffbe6797642227
Author: Keith Packard <keithp at keithp.com>
Date:   Tue Nov 17 15:16:00 2020 -0800

    Make output with unknown width terminal the same as old code
    
    Auto-detecting the terminal width and eliding icons that are too wide
    is a nice new feature, but we shouldn't change the behaviour when that
    width is not detectable (e.g., when output to a file). Change the
    default terminal width from 80 to 144 + 8 to get back to the previous
    output format.
    
    Signed-off-by: Keith Packard <keithp at keithp.com>



More information about the xorg-commit mailing list