libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 21 16:23:02 UTC 2020


 include/X11/Xlib.h       |   10 +++++++
 include/X11/Xlibint.h    |    9 ++++++
 man/XSetErrorHandler.man |   12 ++++++---
 src/ErrHndlr.c           |   25 ++++++++++++++++++
 src/OpenDis.c            |    2 +
 src/XlibInt.c            |   20 +++++++++++++--
 src/xcb_io.c             |   62 +++++++++++++++++++++++++++++++++--------------
 7 files changed, 116 insertions(+), 24 deletions(-)

New commits:
commit 9f9c5365816bdd036fd80d54b22e86764ea4b7a7
Author: Carlos Garnacho <carlosg at gnome.org>
Date:   Fri Jun 14 17:55:14 2019 +0200

    Add XSetIOErrorExitHandler() function
    
    This function complements XSetIOErrorHandler(), allowing to override
    the default behavior that trusts on I/O errors never coming back
    (i.e. exit()ing the process).
    
    This is meant as a mechanism for Wayland compositors (that are too
    a X11 client + compositing manager) to unfasten seatbelts and jump
    through the car window. It might get lucky and land on a stack of
    pillows.
    
    In consequence, some functions labeled as _X_NORETURN can as a
    matter of fact return. So those hints were removed.
    
    Signed-off-by: Carlos Garnacho <carlosg at gnome.org>
    Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>

commit 4cb758019e374fa7c022fe79d28444e13441717b
Author: Carlos Garnacho <carlosg at gnome.org>
Date:   Fri Jun 14 17:54:47 2019 +0200

    Prepare for _XIOError() possibly returning
    
    Ensure current state is cut short on _XIOError(), possible reentrancy
    should be skipped through the XlibDisplayIOError flag checks.
    
    Signed-off-by: Carlos Garnacho <carlosg at gnome.org>
    Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>



More information about the xorg-commit mailing list