aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-08-16 14:51:53 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-08-16 14:51:53 -0400
commit4a5828370c27c318a5e6c0113ea9ed559f446be1 (patch)
treec53554d957731e99838a4ae3ff86bcb23ce82eb7
parentFix movement between outputs (diff)
downloadsway-4a5828370c27c318a5e6c0113ea9ed559f446be1.tar.gz
sway-4a5828370c27c318a5e6c0113ea9ed559f446be1.tar.zst
sway-4a5828370c27c318a5e6c0113ea9ed559f446be1.zip
Log output name when added to tree
-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) {
43} 43}
44 44
45swayc_t *new_output(wlc_handle handle) { 45swayc_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;