The previous revision of this ebuild applied a patch to prevent Togl
from requesting an OpenGL accumulation buffer when XCrySDen is launched,
which can cause crashes when running under XWayland. Unfortunately, it
turns out that this also disables antialiasing, which is clearly not
desirable when running under X11 if this fix is not strictly
necessary. The new patch ensures that we only disable the accumulation
buffer (at runtime) if we are more or less certainly running within a
Wayland session.
Signed-off-by: Patrick J. Taylor <patrick.joseph.taylor@gmail.com>