summaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorS. Christoffer Eliesen <[email protected]>2015-10-25 00:34:57 +0200
committerS. Christoffer Eliesen <[email protected]>2015-10-25 13:14:28 +0100
commit5a70853253633482b09ebdcbde0f4ec7502c7527 (patch)
treeaa6841b0faf26ef4bd01010029b8e3a4e0d31c50 /sway/layout.c
parentc6bb23b7ddd6393c3d4a621bd2c610922a933867 (diff)
log: Add swayc_log, use at a few key places.
swayc_log works just like sway_log, but appends type and name from given container to the log output.
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 3cd873d6..6388a9b2 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -349,7 +349,7 @@ void update_geometry(swayc_t *container) {
static void arrange_windows_r(swayc_t *container, double width, double height) {
int i;
if (width == -1 || height == -1) {
- sway_log(L_DEBUG, "Arranging layout for %p", container);
+ swayc_log(L_DEBUG, container, "Arranging layout for %p", container);
width = container->width;
height = container->height;
}