[Wayland] Fix zxdg_shell_v6 detection

This commit is contained in:
Aleksey Samoilov 2019-02-08 21:45:40 +04:00 committed by GitHub
parent 12c6fe1dc0
commit b609eaf83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");
}