aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 3b87c2e7..2b428c30 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -110,7 +110,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
110void output_add_notify(struct wl_listener *listener, void *data) { 110void output_add_notify(struct wl_listener *listener, void *data) {
111 struct sway_server *server = wl_container_of(listener, server, output_add); 111 struct sway_server *server = wl_container_of(listener, server, output_add);
112 struct wlr_output *wlr_output = data; 112 struct wlr_output *wlr_output = data;
113 sway_log(L_DEBUG, "New output %p: %s", wlr_output, wlr_output->name); 113 wlr_log(L_DEBUG, "New output %p: %s", wlr_output, wlr_output->name);
114 114
115 struct sway_output *output = calloc(1, sizeof(struct sway_output)); 115 struct sway_output *output = calloc(1, sizeof(struct sway_output));
116 if (!output) { 116 if (!output) {
@@ -140,7 +140,7 @@ void output_add_notify(struct wl_listener *listener, void *data) {
140void output_remove_notify(struct wl_listener *listener, void *data) { 140void output_remove_notify(struct wl_listener *listener, void *data) {
141 struct sway_server *server = wl_container_of(listener, server, output_remove); 141 struct sway_server *server = wl_container_of(listener, server, output_remove);
142 struct wlr_output *wlr_output = data; 142 struct wlr_output *wlr_output = data;
143 sway_log(L_DEBUG, "Output %p %s removed", wlr_output, wlr_output->name); 143 wlr_log(L_DEBUG, "Output %p %s removed", wlr_output, wlr_output->name);
144 144
145 swayc_t *output_container = NULL; 145 swayc_t *output_container = NULL;
146 for (int i = 0 ; i < root_container.children->length; ++i) { 146 for (int i = 0 ; i < root_container.children->length; ++i) {