summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/gtk-shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/gtk-shell.c b/shell/gtk-shell.c
index 935178f..a899a1e 100644
--- a/shell/gtk-shell.c
+++ b/shell/gtk-shell.c
@@ -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")) {