Re: [PATCH 3/6] desktop-shell: split protocol part from shell_surface specific functions

2012-04-17 Thread Tiago Vignatti
On 04/17/2012 08:31 AM, Juan Zhao wrote: On 04/16/2012 10:31 PM, Tiago Vignatti wrote: static void +shell_surface_set_maximized(struct wl_client *client, + struct wl_resource *resource, + struct wl_resource *output_resource ) +{ + struct shell_surface *shsurf = resource->data; + struct weston_ou

Re: [PATCH 3/6] desktop-shell: split protocol part from shell_surface specific functions

2012-04-17 Thread Tiago Vignatti
On 04/17/2012 10:28 AM, Pekka Paalanen wrote: On Mon, 16 Apr 2012 17:31:42 +0300 Tiago Vignatti wrote: DE operations like toplevel, transiant, fullscreen, maximized, popup and the shell_surface constructor are the ones expected to be used in the global scope for Weston submodules like xserver-

Re: [PATCH 3/6] desktop-shell: split protocol part from shell_surface specific functions

2012-04-17 Thread Pekka Paalanen
On Mon, 16 Apr 2012 17:31:42 +0300 Tiago Vignatti wrote: > DE operations like toplevel, transiant, fullscreen, maximized, popup and the > shell_surface constructor are the ones expected to be used in the global scope > for Weston submodules like xserver-launcher and other shells. > > This commit

Re: [PATCH 3/6] desktop-shell: split protocol part from shell_surface specific functions

2012-04-16 Thread Juan Zhao
On 04/16/2012 10:31 PM, Tiago Vignatti wrote: DE operations like toplevel, transiant, fullscreen, maximized, popup and the shell_surface constructor are the ones expected to be used in the global scope for Weston submodules like xserver-launcher and other shells. This commit split such procedur

[PATCH 3/6] desktop-shell: split protocol part from shell_surface specific functions

2012-04-16 Thread Tiago Vignatti
DE operations like toplevel, transiant, fullscreen, maximized, popup and the shell_surface constructor are the ones expected to be used in the global scope for Weston submodules like xserver-launcher and other shells. This commit split such procedures into a part that handles the protocol request