From 9640339f2e9dc126406f6b6f8a091b924898b4f5 Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 25 Sep 2005 20:59:02 +0000 Subject: *** empty log message *** --- src/videowidget.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/videowidget.cc') diff --git a/src/videowidget.cc b/src/videowidget.cc index 37cd5d5..61b5c8e 100644 --- a/src/videowidget.cc +++ b/src/videowidget.cc @@ -60,7 +60,7 @@ void VideoWidget::mouseReleaseEvent(QMouseEvent *event) if(!parent) { // We are a fullscreen window QString ids; setenv("SDL_WINDOWID", ids.setNum(oldWindow->winId()), 1); - camera->resize(oldWindow->width(), oldWindow->height()); + camera->resize(oldWindow->width(), oldWindow->height(), false); destroy(); } else { // We are a nested window // first delete old instance (if any) @@ -69,7 +69,7 @@ void VideoWidget::mouseReleaseEvent(QMouseEvent *event) fs->showFullScreen(); fs->setFixedWidth(config->readInt("pixel_width")); fs->setFixedHeight(config->readInt("pixel_height")); - camera->resize(fs->width(), fs->height()); + camera->resize(fs->width(), fs->height(), true); } } -- cgit v1.2.3