swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit e672b60aa376d3ca1878073af877ea483d179e91
parent f25627dd2a7f2f6ea69b0518bf1d688377bed0f0
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 12 Sep 2013 17:58:34 -0700

compositor: Remove unused handle_surface_destroy

Diffstat:
Mlibswc/compositor.c | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/libswc/compositor.c b/libswc/compositor.c @@ -300,16 +300,6 @@ static void handle_drm_event(struct wl_listener * listener, void * data) } } -static void handle_surface_destroy(struct wl_listener * listener, void * data) -{ - struct wl_resource * resource = data; - struct swc_surface * surface = wl_resource_get_user_data(resource); - - wl_list_remove(&surface->link); - - free(surface); -} - static void handle_terminate(uint32_t time, uint32_t value, void * data) { struct wl_display * display = data;