mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
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.
This commit is contained in:
parent
c6bb23b7dd
commit
5a70853253
4 changed files with 31 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue