matanui159 / ReplaySorcery

An open-source, instant-replay solution for Linux
GNU General Public License v3.0
854 stars 27 forks source link

Switch to XCB and setup X11 error handler #93

Closed matanui159 closed 3 years ago

matanui159 commented 3 years ago

Is your feature request related to a problem? Please describe. Whenever X11 fails it reports a generic error message.

Describe the solution you'd like Setup an X11 error handler to report error messages to the log

Additional context Related to #90

matanui159 commented 3 years ago

On second look this does not seem possible since XLib is terribly designed and you cannot get any error messages or info about why XOpenDisplay failed. Maybe in the future it might be a good idea to switch to XCB instead.