Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nxagent: Pass down if window manager has been detected #830

Open
wants to merge 1 commit into
base: 3.6.x
Choose a base branch
from

Commits on Jun 9, 2021

  1. nxagent: Pass down if window manager has been detected

    At start a rootless nxagent checks if the real X server has a Window
    Manager running. It uses a standard detection routine that tries to
    select a special input (SubStructureRedirect). As only one client per
    X server is allowed to select that input one can deduce from the
    success of this operation if a Window Manager is running.
    
    If nxagent is run in rootless mode and has not found a Window Manager
    on the real X server it will grab all input (see
    Screen.c:nxagentOpenScreen).
    
    If any client of the nxagent runs the standard Window Manager
    detection routine against a rootless nxagent it will _not_ see the
    Window Manager. If this client happens to be a rootless nxagent again
    it will then grab all input which is undesired here. Other clients
    might do other undesired stuff in that case.
    
    To avoid all that a rootless nxagent now tries to detect if a client
    runs that detection routine and returns the result of its own check to
    the client.
    uli42 committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    eeade65 View commit details
    Browse the repository at this point in the history