aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-01-06 09:31:34 -0500
committerLibravatar GitHub <noreply@github.com>2018-01-06 09:31:34 -0500
commit5a23959242419169fa4af032d85ee3f65e7041e4 (patch)
tree79386d3d2aa90718f8c071a3337c695cb8a71f78 /sway/desktop/output.c
parentMerge pull request #1554 from martinetd/cmd_set (diff)
parentcommon/log: finish removing most log functions (diff)
downloadsway-5a23959242419169fa4af032d85ee3f65e7041e4.tar.gz
sway-5a23959242419169fa4af032d85ee3f65e7041e4.tar.zst
sway-5a23959242419169fa4af032d85ee3f65e7041e4.zip
Merge pull request #1556 from martinetd/cleanup_logging
Cleanup logging
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) {