xwayland: Don't abort if Xwayland crashes
authorRay Strode <rstrode@redhat.com>
Thu, 12 Apr 2018 18:06:01 +0000 (13:06 -0500)
committerMarco Trevisan (Treviño) <marco@ubuntu.com>
Mon, 23 Apr 2018 15:46:57 +0000 (16:46 +0100)
commite0b4a7f399132bb16f96b5acfc8ee2309f92eb8a
treebcaecc2501a936cac7137b6f29db1cee38044bc0
parent52efab3e46581beb367bd4c925fac0dc2cf550ab
xwayland: Don't abort if Xwayland crashes

Right now if Xwayland crashes, we crash, too.

On some level that makes sense, since we're supposed to control the
lifecycle of Xwayland, and by it crashing we've lost that control.

But practically speaking, the knock-on crash adds noise to the logs,
bug trackers, and retrace servers that only makes debugging harder.
And the crash isn't something mutter can "fix", since it's
ultimately from a bug in Xwayland anyway.

This commit makes mutter exit instead of crash if Xwayland goes away
unexpectedly.

Origin: https://gitlab.gnome.org/GNOME/mutter/commit/2d80fd0

Gbp-Pq: Name xwayland-Don-t-abort-if-Xwayland-crashes.patch
src/wayland/meta-xwayland.c