diff options
author | deva <deva> | 2005-09-25 20:59:02 +0000 |
---|---|---|
committer | deva <deva> | 2005-09-25 20:59:02 +0000 |
commit | 9640339f2e9dc126406f6b6f8a091b924898b4f5 (patch) | |
tree | dad14d120f0fc4401552714b5efffe20b5c78a4d /src/videowidget.cc | |
parent | 36326a9c1bab28c5eccea6cc2c56c9a8b83dac0d (diff) |
*** empty log message ***
Diffstat (limited to 'src/videowidget.cc')
-rw-r--r-- | src/videowidget.cc | 4 |
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); } } |