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

Detect X Server shutdown or document how to end succade #14

Open
domsson opened this issue Apr 12, 2019 · 1 comment
Open

Detect X Server shutdown or document how to end succade #14

domsson opened this issue Apr 12, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@domsson
Copy link
Owner

domsson commented Apr 12, 2019

Currently, without taking proper precautions, succade might keep on running even if the X Server is being shut down. We should research if there is a way to detect when X (or alternatively succade's parent process) is gone. If that's not reliably possible, we should document this somehow (for example, add an example that shows how to modify the sxhkd hotkeys to also shut down succade properly.

@domsson domsson added enhancement New feature or request question Further information is requested labels Apr 12, 2019
@domsson domsson self-assigned this Apr 12, 2019
@domsson
Copy link
Owner Author

domsson commented Apr 12, 2019

We might be able to use getenv("DISPLAY"), as $DISPLAY should not be set when X isn't running. Haven't looked into it in detail yet, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant