From: Kristian Høgsberg Date: Thu, 16 Feb 2012 20:58:14 +0000 (-0500) Subject: Follow set_fullscreen protocol change X-Git-Tag: 0.94.90~608 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f856fd2f931832ed18252136c8a119b192d4ab96;p=platform%2Fupstream%2Fweston.git Follow set_fullscreen protocol change --- diff --git a/clients/window.c b/clients/window.c index 0dfd7f3..59fa684 100644 --- a/clients/window.c +++ b/clients/window.c @@ -790,7 +790,8 @@ window_set_type(struct window *window) switch (window->type) { case TYPE_FULLSCREEN: - wl_shell_surface_set_fullscreen(window->shell_surface); + wl_shell_surface_set_fullscreen(window->shell_surface, + WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT, 0, NULL); break; case TYPE_MAXIMIZED: wl_shell_surface_set_maximized(window->shell_surface, NULL); diff --git a/src/shell.c b/src/shell.c index 551642a..da6e6ac 100644 --- a/src/shell.c +++ b/src/shell.c @@ -486,7 +486,10 @@ shell_surface_set_maximized(struct wl_client *client, static void shell_surface_set_fullscreen(struct wl_client *client, - struct wl_resource *resource) + struct wl_resource *resource, + uint32_t method, + uint32_t framerate, + struct wl_resource *output_resource) { struct shell_surface *shsurf = resource->data; struct weston_surface *es = shsurf->surface;