Skip to content
Commit c223a1d3 authored by Mariusz Glebocki's avatar Mariusz Glebocki
Browse files

Splits: Fix repaint after unmaximizing

Just after showing (i.e. in showEvent), contentsRect() width (or height)
is 0, which after calculations leads to _usedColumns (or _usedLines)
being equal to 1. Valid contentsRect() is restored just after showEvent,
and is available in resizeEvent.

Test:
* Split left/right
* Maximize one terminal
* Unmaximize

Without patch:
Previously hidden terminal appears with only one column painted

With patch:
Normal, fully painted terminal is shown.
parent fb8890c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment