diff options
Diffstat (limited to 'textwindow.c')
-rw-r--r-- | textwindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/textwindow.c b/textwindow.c index 2fe6d36..04ea9b4 100644 --- a/textwindow.c +++ b/textwindow.c @@ -79,6 +79,9 @@ void cNopacityTextWindow::Action(void) { oldVidWin.SetWidth(vidWin->Width()); oldVidWin.SetHeight(vidWin->Height()); cRect vidWinNew = cDevice::PrimaryDevice()->CanScaleVideo(availableRect); + vidWin->SetX(vidWinNew.X()); + vidWin->SetY(vidWinNew.Y()); + vidWin->SetWidth(vidWinNew.Width()); vidWin->SetHeight(vidWinNew.Height()); scaledWindow = true; } |