[PATCH weston] compositor: remove unused signal

Giulio Camuffo giuliocamuffo at gmail.com
Fri Sep 5 13:26:33 PDT 2014


The move_signal in weston_output isn't used, and not even initialized,
so anything trying to listen to it will crash on wl_signal_add().
Instead of it, the 'output_moved_signal' in weston_compositor is
used, so remove it.
---
 src/compositor.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/compositor.h b/src/compositor.h
index a40dabd..9611dea 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -200,7 +200,6 @@ struct weston_output {
 	int dirty;
 	struct wl_signal frame_signal;
 	struct wl_signal destroy_signal;
-	struct wl_signal move_signal;
 	int move_x, move_y;
 	uint32_t frame_time;
 	int disable_planes;
-- 
2.1.0



More information about the wayland-devel mailing list