Skip to content
  • Olivier Fourdan's avatar
    xfixes: Add ClientDisconnectMode · b6bc35b8
    Olivier Fourdan authored and Peter Hutterer's avatar Peter Hutterer committed
    
    
    The Xserver itself is capable of terminating itself once all X11 clients
    are gone, yet in a typical full session, there are a number of X11
    clients running continuously (e.g. the Xsettings daemon, IBus, etc.).
    
    Those always-running clients will prevent the Xserver from terminating,
    because the actual number of X11 clients will never drop to 0.
    
    To solve this issue directly at the Xserver level, this add new entries
    to the XFixes extension to let the X11 clients themselves specify the
    disconnect mode they expect.
    
    Typically, those X11 daemon clients would specify the disconnect mode
    XFixesClientDisconnectFlagTerminate to let the Xserver know that they
    should not be accounted for when checking the remaining clients prior
    to terminate.
    
    Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
    b6bc35b8