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

FvwmCommand: use FVWMMFL_SOCKET when it's present #1035

Closed
wants to merge 1 commit into from

Conversation

akovalenko
Copy link

Follow-up to da4387b FvwmMFL: introduce FVWMML_SOCKET_PATH for namespacing. It breaks FvwmCommand for me because instead of taking FVWMMFL_SOCKET from the environment, FvwmCommand guesses it from FVWMMFL_SOCKET_PATH (incorrectly, DISPLAY=:1.0 while socket being :1.sock)

When running FvwmCommand from a specific fvwm instance, FVWMMFL_SOCKET is available, so let FvwmCommand use it. In the "outer" environment where only FVWMML_SOCKET_PATH is available, let it resort to guessing socket by $DISPLAY. Fixes #1034.

Follow-up to da4387b FvwmMFL: introduce FVWMML_SOCKET_PATH for
namespacing. It breaks FvwmCommand for me because instead of taking
FVWMMFL_SOCKET from the environment, FvwmCommand guesses it from
FVWMMFL_SOCKET_PATH (incorrectly, DISPLAY=:1.0 while socket being
:1.sock)

When running FvwmCommand from a specific fvwm instance, FVWMMFL_SOCKET
is available, so let FvwmCommand use it. In the "outer" environment
where only FVWMML_SOCKET_PATH is available, let it resort to guessing
socket by $DISPLAY. Fixes fvwmorg#1034.
@ThomasAdam
Copy link
Member

Damn... I missed that you'd done this, @akovalenko -- sorry.

Is this PR still required?

@ThomasAdam ThomasAdam added the skip:changelog Issue/PR should skip CHANGELOG label Aug 28, 2024
@ThomasAdam
Copy link
Member

Fixed via PR f6dd682

@ThomasAdam ThomasAdam closed this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip:changelog Issue/PR should skip CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FvwmCommand doesn't find socket
2 participants