diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-02-08 13:53:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-02-08 13:53:33 +0000 |
commit | a3431919f515fc1d5c4bac2fe94d2c8773c631a7 (patch) | |
tree | 8e90c4ad2d386befb98f8d5029258f7a74334697 /usr.bin/tmux/resize.c | |
parent | cd2524f09be30847939156745d135fedabc4a01f (diff) |
Improve some of the logging on resize.
Diffstat (limited to 'usr.bin/tmux/resize.c')
-rw-r--r-- | usr.bin/tmux/resize.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/resize.c b/usr.bin/tmux/resize.c index 55d846e107e..4914ae6af95 100644 --- a/usr.bin/tmux/resize.c +++ b/usr.bin/tmux/resize.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resize.c,v 1.21 2017/02/03 21:01:02 nicm Exp $ */ +/* $OpenBSD: resize.c,v 1.22 2017/02/08 13:53:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -84,8 +84,8 @@ recalculate_sizes(void) if (s->sx == ssx && s->sy == ssy) continue; - log_debug("session size %u,%u (was %u,%u)", ssx, ssy, s->sx, - s->sy); + log_debug("session $%u size %u,%u (was %u,%u)", s->id, ssx, ssy, + s->sx, s->sy); s->sx = ssx; s->sy = ssy; @@ -130,8 +130,8 @@ recalculate_sizes(void) if (w->sx == ssx && w->sy == ssy) continue; - log_debug("window size %u,%u (was %u,%u)", ssx, ssy, w->sx, - w->sy); + log_debug("window @%u size %u,%u (was %u,%u)", w->id, ssx, ssy, + w->sx, w->sy); w->flags &= ~(WINDOW_FORCEWIDTH|WINDOW_FORCEHEIGHT); w->flags |= forced; |