commit cab3201940d6562a361a1e869ceeebb26038d36e
parent 7e34583396b053f7be51b0e36c319c26c10e0ad1
Author: Michael Forney <mforney@mforney.org>
Date: Sat, 25 Jan 2014 01:40:07 -0800
surface: Remove obsolete event signal
Diffstat:
2 files changed, 0 insertions(+), 19 deletions(-)
diff --git a/libswc/surface.c b/libswc/surface.c
@@ -383,8 +383,6 @@ struct swc_surface * swc_surface_new(struct wl_client * client,
state_initialize(&surface->state);
state_initialize(&surface->pending.state);
- wl_signal_init(&surface->event_signal);
-
/* Add the surface to the client. */
surface->resource = wl_resource_create(client, &wl_surface_interface,
version, id);
diff --git a/libswc/surface.h b/libswc/surface.h
@@ -28,22 +28,6 @@
#include <wayland-server.h>
#include <pixman.h>
-enum swc_surface_event_type
-{
- SWC_SURFACE_EVENT_TYPE_RESIZE
-};
-
-struct swc_surface_event_data
-{
- struct swc_surface * surface;
-
- struct
- {
- uint32_t old_width, old_height;
- uint32_t new_width, new_height;
- } resize;
-};
-
enum swc_surface_commit_info
{
SWC_SURFACE_COMMIT_ATTACH = (1 << 0),
@@ -87,7 +71,6 @@ struct swc_surface
struct swc_view * view;
struct wl_listener view_listener;
- struct wl_signal event_signal;
struct wl_list link;
};