Commit 37250b8a authored by Marius-Cristian Vlad's avatar Marius-Cristian Vlad

Test: add weston-simple-egl app_id same as title

Signed-off-by: Marius-Cristian Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
parent 32bdf473
......@@ -326,6 +326,9 @@ handle_toplevel_configure(void *data, struct xdg_toplevel *toplevel,
}
}
fprintf(stdout, "width %d, height %d, max %d, fullscreen %d\n",
width, height, window->maximized, window->fullscreen);
if (width > 0 && height > 0) {
if (!window->fullscreen && !window->maximized) {
window->window_size.width = width;
......@@ -382,6 +385,7 @@ create_surface(struct window *window)
&xdg_toplevel_listener, window);
xdg_toplevel_set_title(window->xdg_toplevel, "simple-egl");
xdg_toplevel_set_app_id(window->xdg_toplevel, "weston-simple-egl");
window->wait_for_configure = true;
wl_surface_commit(window->surface);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment