When running Tigger maximised in a VM there is a rendering error when closing dockable windows. This error is only seem within a VM and when Tigger is maximised; if Tigger is running in a windowed state in a VM, no issue is seen.
This PR fixes the unwanted behaviour when running in a VM. In addition, this PR fixes an issue when opening and closing the control dialog repeatedly when Tigger is in a windowed state - window resizing calculation was incorrect.
Fixes issue ska-sa#121.
When running Tigger maximised in a VM there is a rendering error when closing dockable windows. This error is only seem within a VM and when Tigger is maximised; if Tigger is running in a windowed state in a VM, no issue is seen.
This PR fixes the unwanted behaviour when running in a VM. In addition, this PR fixes an issue when opening and closing the control dialog repeatedly when Tigger is in a windowed state - window resizing calculation was incorrect.