From dc1eac0cf12593fa20122142f087bbb3bc8e7589 Mon Sep 17 00:00:00 2001
From: emersion <contact@emersion.fr>
Date: Thu, 17 Jan 2019 21:49:06 +0100
Subject: output: remove output_add_listeners

Simplify the code by registering signals when outputs are created and removing
signals when they are destroyed.
---
 include/sway/output.h | 2 --
 1 file changed, 2 deletions(-)

(limited to 'include/sway')

diff --git a/include/sway/output.h b/include/sway/output.h
index bdf9614d..7279187d 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -144,8 +144,6 @@ void output_get_box(struct sway_output *output, struct wlr_box *box);
 enum sway_container_layout output_get_default_layout(
 		struct sway_output *output);
 
-void output_add_listeners(struct sway_output *output);
-
 void render_rect(struct wlr_output *wlr_output,
 		pixman_region32_t *output_damage, const struct wlr_box *_box,
 		float color[static 4]);
-- 
cgit v1.2.3