You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #1350, the XWaylandEvent::Error event is only sent if an error occurs during Xwayland startup, instead of the XWaylandEvent::Exited event, which was also sent if it exits/crashes later on (for testing, I just killed the Xwayland process).
Looking through the code, I couldn't find a way to get notified, if Xwayland exits. Smithay does notice, that Xwayland exits, logging an error (ERROR smithay::utils::x11rb: Event thread exiting due to connection error The X11 server closed the connection)
My use-case is, that I would like to restart Xwayland, if it crashes. Re-adding the XWaylandEvent::Exited and sending it if the connection to the X11 server is closed would resolve this.
The text was updated successfully, but these errors were encountered:
Since #1350, the
XWaylandEvent::Error
event is only sent if an error occurs during Xwayland startup, instead of theXWaylandEvent::Exited
event, which was also sent if it exits/crashes later on (for testing, I just killed the Xwayland process).Looking through the code, I couldn't find a way to get notified, if Xwayland exits. Smithay does notice, that Xwayland exits, logging an error (
ERROR smithay::utils::x11rb: Event thread exiting due to connection error The X11 server closed the connection
)My use-case is, that I would like to restart Xwayland, if it crashes. Re-adding the
XWaylandEvent::Exited
and sending it if the connection to the X11 server is closed would resolve this.The text was updated successfully, but these errors were encountered: