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

Handle resume correctly (with Oxide and other launchers) #118

Open
fenollp opened this issue Dec 11, 2023 · 1 comment
Open

Handle resume correctly (with Oxide and other launchers) #118

fenollp opened this issue Dec 11, 2023 · 1 comment

Comments

@fenollp
Copy link
Owner

fenollp commented Dec 11, 2023

cc #6
and https://oxide.eeems.codes/documentation.html

@Eeems
Copy link
Contributor

Eeems commented Dec 13, 2023

The simplest way would be to just handle SIGCONT, as that signal is sent when a process is resumed after being paused. You won't be able to handle the signal sent to pause the application, which means you can't do any sort of clean up before pausing.

Oxide has an alternative application mode that will use SIGUSR1 and SIGUSR2 signals that need to be acked back to tarnish for suspend/resume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants