From b609eaf83fb691dc40c6f924911a1dfcdc21197c Mon Sep 17 00:00:00 2001 From: Aleksey Samoilov Date: Fri, 8 Feb 2019 21:45:40 +0400 Subject: [PATCH] [Wayland] Fix zxdg_shell_v6 detection --- gfx/drivers_context/wayland_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 6751775e63..da178cb2ad 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -1325,7 +1325,7 @@ static void *gfx_ctx_wl_init(video_frame_info_t *video_info, void *video_driver) goto error; } - if (!wl->xdg_shell) + if (!wl->xdg_shell && !!wl->zxdg_shell) { RARCH_LOG("[Wayland]: Using zxdg_shell_v6 interface.\n"); }