Commit 668a926b authored by Jonny Lamb's avatar Jonny Lamb
Browse files

shell: bind to version 3 of desktop_shell

The desktop_ready() request (added in version 2) must be called after
everything is drawn to the screen so weston knows when to fade up and
show the desktop.
parent a94c970a
......@@ -59,6 +59,8 @@ desktop_shell_configure(void *data,
width, height - 28);
gtk_window_resize (GTK_WINDOW (desktop->panel->window), width, 16);
desktop_shell_desktop_ready(desktop->shell);
}
static void
......@@ -260,7 +262,7 @@ registry_handle_global(void *data, struct wl_registry *registry,
if (!strcmp(interface, "desktop_shell")) {
d->shell = wl_registry_bind(registry, name,
&desktop_shell_interface, 1);
&desktop_shell_interface, 3);
desktop_shell_add_listener(d->shell, &listener, d);
} else if (!strcmp(interface, "wl_output")) {
......
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