Re: [Qemu-devel] [PATCH] ui/gtk: Only try to initialize EGL/X11 if GtkGlArea failed

2018-05-15 Thread Gerd Hoffmann
On Mon, May 07, 2018 at 03:42:37PM +0200, Tomeu Vizoso wrote: > 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. > >

[Qemu-devel] [PATCH] ui/gtk: Only try to initialize EGL/X11 if GtkGlArea failed

2018-05-07 Thread Tomeu Vizoso
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: us