swc

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

commit d2a3bd123a68bee525f2b8bfbab74868d456101b
parent 1256add04b6f8a719c46ba5fff67a60ddad476da
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 29 Aug 2019 18:47:18 -0700

compositor: Remove unused new_surface signal

Diffstat:
Mlibswc/compositor.c | 3---
Mlibswc/compositor.h | 9---------
2 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/libswc/compositor.c b/libswc/compositor.c @@ -753,8 +753,6 @@ create_surface(struct wl_client *client, struct wl_resource *resource, uint32_t wl_resource_post_no_memory(resource); return; } - - wl_signal_emit(&swc_compositor.signal.new_surface, surface); } static void @@ -802,7 +800,6 @@ compositor_initialize(void) pixman_region32_init(&compositor.damage); pixman_region32_init(&compositor.opaque); wl_list_init(&compositor.views); - wl_signal_init(&swc_compositor.signal.new_surface); compositor.swc_listener.notify = &handle_swc_event; wl_signal_add(&swc.event_signal, &compositor.swc_listener); diff --git a/libswc/compositor.h b/libswc/compositor.h @@ -31,15 +31,6 @@ struct swc_compositor { struct pointer_handler *const pointer_handler; - struct { - /** - * Emitted when a new surface is created. - * - * The data argument of the signal refers to the surface that has been - * created. - */ - struct wl_signal new_surface; - } signal; }; bool compositor_initialize(void);