From 2541b36985006aa441e8f39841c32a7dae67ab88 Mon Sep 17 00:00:00 2001 From: Peter Griffin Date: Wed, 12 Dec 2018 14:57:16 +0000 Subject: [PATCH] cog-platform-fdo: avoid "xdg_surface has never been configured error" Call wl_surface_commit to ensure the configure flag is set to true. Otherwise we get the following error on iMX8M and no window is created. zxdg_surface_v6@10: error 3: xdg_surface has never been configured Signed-off-by: Peter Griffin --- platform/cog-platform-fdo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/cog-platform-fdo.c b/platform/cog-platform-fdo.c index e61b960a..51c2f2b1 100644 --- a/platform/cog-platform-fdo.c +++ b/platform/cog-platform-fdo.c @@ -1240,6 +1240,7 @@ create_window (GError **error) app_id = COG_DEFAULT_APPID; } zxdg_toplevel_v6_set_app_id (win_data.xdg_toplevel, app_id); + wl_surface_commit(win_data.wl_surface); } else if (wl_data.fshell != NULL) { zwp_fullscreen_shell_v1_present_surface (wl_data.fshell, win_data.wl_surface,