[PATCH weston 2/2] compositor: change weston_surface::destroy_signal argument

Pekka Paalanen pekka.paalanen at collabora.co.uk
Thu Apr 30 04:57:55 PDT 2015


On Fri, 17 Apr 2015 16:47:49 +0300
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> Pass 'this' weston_surface as the data argument to
> weston_surface::destroy_signal listeners. The old &surface->resource was
> really just an offsetted pointer to the weston_surface anyway. And,
> because 'resource' happened to be the first member in struct weston_surface,
> it was actually 'this' weston_surface.
> 
> The argument type was accidentally changed in commit
> 26ed73cee858956f6af07c3e4bb49b5514f17b8b from wl_resource* to
> wl_resource**.
> 
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
>  src/compositor.c | 6 +++---
>  src/compositor.h | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)

Hi,

I think these two patches have brewed long enough, so I pushed them.
   e259a7a..ca79076  master -> master


Thanks,
pq


More information about the wayland-devel mailing list