diff options
-rw-r--r-- | apps/gui/viewport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index 5f999df961..8e00ea3a71 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -388,10 +388,10 @@ void viewport_set_defaults(struct viewport *vp, vp->height = MIN(a->y + a->height, b->y + b->height) - vp->y; return; } - else /* They don't overlap, so the best wrong answer is show fullscreen */ - viewport_set_fullscreen(vp, screen); - + /* else (no overlap at all) fall back to info vp from sbs, that + * has no redraw problems */ } + /* if only one is active use it * or if the above check for overlapping failed, use info vp then, because * that doesn't give redraw problems */ |