diff options
author | 2015-08-16 14:51:53 -0400 | |
---|---|---|
committer | 2015-08-16 14:51:53 -0400 | |
commit | 4a5828370c27c318a5e6c0113ea9ed559f446be1 (patch) | |
tree | c53554d957731e99838a4ae3ff86bcb23ce82eb7 /sway | |
parent | Fix movement between outputs (diff) | |
download | sway-4a5828370c27c318a5e6c0113ea9ed559f446be1.tar.gz sway-4a5828370c27c318a5e6c0113ea9ed559f446be1.tar.zst sway-4a5828370c27c318a5e6c0113ea9ed559f446be1.zip |
Log output name when added to tree
Diffstat (limited to 'sway')
-rw-r--r-- | sway/container.c | 2 |
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) { | |||
43 | } | 43 | } |
44 | 44 | ||
45 | swayc_t *new_output(wlc_handle handle) { | 45 | swayc_t *new_output(wlc_handle handle) { |
46 | sway_log(L_DEBUG, "Added output %d", handle); | ||
47 | const struct wlc_size* size = wlc_output_get_resolution(handle); | 46 | const struct wlc_size* size = wlc_output_get_resolution(handle); |
48 | const char *name = wlc_output_get_name(handle); | 47 | const char *name = wlc_output_get_name(handle); |
48 | sway_log(L_DEBUG, "Added output %d %s", handle, name); | ||
49 | 49 | ||
50 | swayc_t *output = new_swayc(C_OUTPUT); | 50 | swayc_t *output = new_swayc(C_OUTPUT); |
51 | output->width = size->w; | 51 | output->width = size->w; |