[PATCH weston 02/17] xwm: Rename get_resources function

Kristian Høgsberg hoegsberg at gmail.com
Fri Nov 30 14:23:09 PST 2012


On Fri, Nov 30, 2012 at 05:19:57PM -0200, Tiago Vignatti wrote:
> It's pure WM-related function, so use the same 'weston_wm_' prefix that others
> in the same file are already using.

Makes sense, committed.
Kristian

> Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
> ---
>  src/xwayland/window-manager.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
> index 1b2c0da..9f01c82 100644
> --- a/src/xwayland/window-manager.c
> +++ b/src/xwayland/window-manager.c
> @@ -1249,7 +1249,7 @@ weston_wm_handle_event(int fd, uint32_t mask, void *data)
>  }
>  
>  static void
> -wxs_wm_get_resources(struct weston_wm *wm)
> +weston_wm_get_resources(struct weston_wm *wm)
>  {
>  
>  #define F(field) offsetof(struct weston_wm, field)
> @@ -1471,7 +1471,7 @@ weston_wm_create(struct weston_xserver *wxs)
>  				     weston_wm_handle_event, wm);
>  	wl_event_source_check(wm->source);
>  
> -	wxs_wm_get_resources(wm);
> +	weston_wm_get_resources(wm);
>  
>  	values[0] =
>  		XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |
> -- 
> 1.7.9.5
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list