Create and attach buffer at process_updates time

This way we don't try to show the buffer until we've handle the initial
expose.
This commit is contained in:
Kristian Høgsberg
2011-01-06 16:51:12 -05:00
parent 7bbc158217
commit 56de871bf3
3 changed files with 63 additions and 73 deletions

View File

@ -169,7 +169,7 @@ shell_handle_configure(void *data, struct wl_shell *shell,
window->height = height;
_gdk_window_update_size (window);
_gdk_wayland_window_update_size (GDK_WINDOW_IMPL_WAYLAND (window->impl));
_gdk_wayland_window_update_size (window);
g_object_ref(window);