mirror of
https://github.com/tmux/tmux.git
synced 2026-10-11 04:44:25 +00:00
Rebased on current master without conflicts and completed the cleanup: comments above new function in longer functions, metadata comments, aligned declarations and simpler guards, consistent braces and shorter lines.
This commit is contained in:
6
resize.c
6
resize.c
@@ -395,12 +395,14 @@ recalculate_size(struct window *w, int now)
|
||||
*/
|
||||
if (w->flags & WINDOW_RESIZE) {
|
||||
if (!now && changed && w->new_sx == sx && w->new_sy == sy &&
|
||||
w->new_xpixel == xpixel && w->new_ypixel == ypixel)
|
||||
w->new_xpixel == xpixel && w->new_ypixel == ypixel) {
|
||||
changed = 0;
|
||||
}
|
||||
} else {
|
||||
if (!now && changed && w->sx == sx && w->sy == sy &&
|
||||
w->xpixel == xpixel && w->ypixel == ypixel)
|
||||
w->xpixel == xpixel && w->ypixel == ypixel) {
|
||||
changed = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user