diff options
author | deva <deva> | 2006-04-08 15:20:51 +0000 |
---|---|---|
committer | deva <deva> | 2006-04-08 15:20:51 +0000 |
commit | 46b3c21f079a10e1ed072976d355a8026bcb7580 (patch) | |
tree | 7fb0311f5f76ec991ebc0a05ba3ab62cd5c8946d /client/videowidget.cc | |
parent | 9c078bc5e1468ed79d85fafbad41160c0170959e (diff) |
*** empty log message ***
Diffstat (limited to 'client/videowidget.cc')
-rw-r--r-- | client/videowidget.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/client/videowidget.cc b/client/videowidget.cc index edabf71..f6fc430 100644 --- a/client/videowidget.cc +++ b/client/videowidget.cc @@ -51,9 +51,24 @@ VideoWidget::~VideoWidget() { } +//static QWidget *realparent; void VideoWidget::mouseReleaseEvent(QMouseEvent *event) { /* + fprintf(stderr, "Fullscreen\n"); + + if(isFullScreen()) { + // setWindowState(Qt::WindowNoState); + setParent(realparent); + showNormal(); + } else { + realparent = parentWidget(); + setParent(NULL); + showFullScreen(); + // setWindowState(Qt::WindowFullScreen); + } + */ + /* if(!parent) { // We are a fullscreen window QString ids; setenv("SDL_WINDOWID", ids.setNum(oldWindow->winId()).toStdString().c_str(), 1); |