diff options
| author | Tomeu Vizoso | 2018-05-07 15:42:37 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2018-05-15 10:34:17 +0200 |
| commit | 4f4cb8282df82d43ba6b3c9045a3ac6fc4c4ef09 (patch) | |
| tree | be664fbc58f700ddb9c77f78883871236235de9f /include | |
| parent | gtk: make it possible to hide the menu bar (diff) | |
| download | qemu-4f4cb8282df82d43ba6b3c9045a3ac6fc4c4ef09.tar.gz qemu-4f4cb8282df82d43ba6b3c9045a3ac6fc4c4ef09.tar.xz qemu-4f4cb8282df82d43ba6b3c9045a3ac6fc4c4ef09.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
