summaryrefslogtreecommitdiff
path: root/src/videowidget.cc
diff options
context:
space:
mode:
authordeva <deva>2005-09-25 20:59:02 +0000
committerdeva <deva>2005-09-25 20:59:02 +0000
commit9640339f2e9dc126406f6b6f8a091b924898b4f5 (patch)
treedad14d120f0fc4401552714b5efffe20b5c78a4d /src/videowidget.cc
parent36326a9c1bab28c5eccea6cc2c56c9a8b83dac0d (diff)
*** empty log message ***
Diffstat (limited to 'src/videowidget.cc')
-rw-r--r--src/videowidget.cc4
1 files changed, 2 insertions, 2 deletions
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);
}
}