shell_surface_set_transient(shell_surface_t *shsurf, pepper_surface_t *parent,
int32_t x, int32_t y, uint32_t flags);
+void
+shell_surface_ack_configure(shell_surface_t *shsurf, uint32_t serial);
+
+void
+shell_surface_set_geometry(shell_surface_t *shsurf, int32_t x, int32_t y, int32_t w, int32_t h);
+
+void
+shell_surface_set_maximized(shell_surface_t *shsurf, pepper_output_t *output);
+
+void
+shell_surface_unset_maximized(shell_surface_t *shsurf);
+
+void
+shell_surface_set_fullscreen(shell_surface_t *shsurf, pepper_output_t *output,
+ uint32_t method, uint32_t framerate);
+
+void
+shell_surface_unset_fullscreen(shell_surface_t *shsurf);
+
+void
+shell_surface_set_minimized(shell_surface_t *shsurf);
+
+void
+shell_get_output_workarea(desktop_shell_t *shell, pepper_output_t *output,
+ pixman_rectangle32_t *area);
+
+
pepper_bool_t
init_wl_shell(desktop_shell_t *shell);
+
+void
+fini_wl_shell(desktop_shell_t *shell);
+
+pepper_bool_t
+init_xdg_shell(desktop_shell_t *shell);
+
+void
+fini_xdg_shell(desktop_shell_t *shell);
+
static void
shell_surface_map_toplevel(shell_surface_t *shsurf)
{
- int32_t x = 0, y = 0, w = 0, h = 0;
+ int32_t x = 0, y = 0;
/* Restore original geometry */
if (shsurf->type == SHELL_SURFACE_TYPE_FULLSCREEN ||
static void
switch_output_mode(pepper_output_t *output, pepper_output_mode_t *mode)
{
- pepper_output_mode_t *new_mode;
+ pepper_output_mode_t *new_mode = NULL;;
/* TODO: Find the output mode to the smallest mode that can fit */
/* TODO: Create background black view */
{
- pepper_surface_t *surface;
+ pepper_surface_t *surface = NULL;
/**
* surface->x = output_geom->w;