Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Move X11 error handler registration to before screen sets #62

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

tt2468
Copy link
Contributor

@tt2468 tt2468 commented Mar 27, 2024

If X11 throws an error during screen config get/set, the default error handler at the time will be one which causes a program exit. This splits the error handler registration in xevent into its own call, allowing us to register our error handler earlier on. This results in the safe error handling logic actually being called instead of a full program exit.

If X11 throws an error during screen config get/set, the default error
handler at the time will be one which causes a program exit. This
splits the error handler registration in xevent into its own call,
allowing us to register our error handler earlier on. This results in
the safe error handling logic actually being called instead of a full
program exit.
@m1k1o m1k1o merged commit 00c7e6d into demodesk:master Mar 27, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants