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

renderer.c: Create new child process for interaction with cairo #208

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

personalizedrefrigerator
Copy link

@personalizedrefrigerator personalizedrefrigerator commented Sep 19, 2021

Summary

  • forks before interaction with cairo in render_frame and render_frame_background
  • Cairo interaction is thereby handled by a child process.
  • WILL NOT fix most of the crashing bug reports.

Rationale

  • Some of the bug reports that report crashes include libcairo in the stack trace.
    • Note that others include xcb, which this will not address.
  • Re-launching the program on crash has issues (that may be resolvable):
    • There is a brief interval during which the user's screen is visible
    • During that time, keyboard input isn't captured.
    • See Re-launch on crash #209

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

Successfully merging this pull request may close these issues.

None yet

1 participant