commit cab3201
Michael Forney
·
2014-01-25 09:40:07 +0000 UTC
parent 7e34583
surface: Remove obsolete event signal
2 files changed,
+0,
-19
+0,
-2
1@@ -383,8 +383,6 @@ struct swc_surface * swc_surface_new(struct wl_client * client,
2 state_initialize(&surface->state);
3 state_initialize(&surface->pending.state);
4
5- wl_signal_init(&surface->event_signal);
6-
7 /* Add the surface to the client. */
8 surface->resource = wl_resource_create(client, &wl_surface_interface,
9 version, id);
+0,
-17
1@@ -28,22 +28,6 @@
2 #include <wayland-server.h>
3 #include <pixman.h>
4
5-enum swc_surface_event_type
6-{
7- SWC_SURFACE_EVENT_TYPE_RESIZE
8-};
9-
10-struct swc_surface_event_data
11-{
12- struct swc_surface * surface;
13-
14- struct
15- {
16- uint32_t old_width, old_height;
17- uint32_t new_width, new_height;
18- } resize;
19-};
20-
21 enum swc_surface_commit_info
22 {
23 SWC_SURFACE_COMMIT_ATTACH = (1 << 0),
24@@ -87,7 +71,6 @@ struct swc_surface
25 struct swc_view * view;
26 struct wl_listener view_listener;
27
28- struct wl_signal event_signal;
29 struct wl_list link;
30 };
31