Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index a784f5b..58f02ef 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp @@ -331,3 +331,3 @@ void PMainWindow::slotToggleFullScreen() if (!tFrame) { - tFrame = new QWidget(0,0,WType_TopLevel|WStyle_NoBorder|WStyle_StaysOnTop); + tFrame = new QWidget(0,0,WStyle_Customize|WStyle_NoBorder); tFrame->resize(qApp->desktop()->width(), qApp->desktop()->height()); @@ -341,2 +341,3 @@ void PMainWindow::slotToggleFullScreen() } else { + setUpdatesEnabled(false); odebug << "window" << oendl; @@ -354,2 +355,3 @@ void PMainWindow::slotToggleFullScreen() } + setUpdatesEnabled(true); } @@ -429,2 +431,3 @@ void PMainWindow::closeEvent( QCloseEvent* ev ) { void PMainWindow::raiseIconView() { + setUpdatesEnabled(false); if (m_stack->mode() == Opie::Ui::OWidgetStack::SmallScreen) { @@ -440,2 +443,4 @@ void PMainWindow::raiseIconView() { m_stack->raiseWidget( IconView ); + setUpdatesEnabled(true); + repaint(); } |