Tomeu Vizoso 4f4cb8282d ui/gtk: Only try to initialize EGL/X11 if GtkGlArea failed
The commit referenced below changed the logic by causing the gtk-egl
backend to be initialized regardless of whether GtkGlArea initialization
succeeded. This causes eglInitialize to crash in Wayland systems without
XWayland.

This patch restores the previous logic.

Fixes: 4c70280592f5 ("ui/gtk: use GtkGlArea on wayland only")
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Message-id: 20180507134237.14996-1-tomeu.vizoso@collabora.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-05-15 10:34:17 +02:00
..
2018-03-12 09:00:34 +01:00
2018-02-16 12:25:35 +01:00
2018-04-09 10:40:47 +02:00
2018-05-15 10:22:12 +02:00
2018-03-05 08:44:11 +01:00
2018-03-13 11:17:29 -06:00
2018-04-27 09:51:23 +02:00