aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-16 14:51:53 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-16 14:51:53 -0400
commit4a5828370c27c318a5e6c0113ea9ed559f446be1 (patch)
treec53554d957731e99838a4ae3ff86bcb23ce82eb7 /sway
parent19c0ec6a08fd8462bc2060b657277250452eb2ba (diff)
Log output name when added to tree
Diffstat (limited to 'sway')
-rw-r--r--sway/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c
index 1f9b250f..46694cbd 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -43,9 +43,9 @@ static void add_output_widths(swayc_t *container, void *_width) {
}
swayc_t *new_output(wlc_handle handle) {
- sway_log(L_DEBUG, "Added output %d", handle);
const struct wlc_size* size = wlc_output_get_resolution(handle);
const char *name = wlc_output_get_name(handle);
+ sway_log(L_DEBUG, "Added output %d %s", handle, name);
swayc_t *output = new_swayc(C_OUTPUT);
output->width = size->w;