]> git.sur5r.net Git - minitube/commitdiff
Minor fix to the new fullscreen code
authorFlavio <flavio@odisseo.local>
Thu, 20 Sep 2012 12:45:51 +0000 (14:45 +0200)
committerFlavio <flavio@odisseo.local>
Thu, 20 Sep 2012 12:45:51 +0000 (14:45 +0200)
src/MainWindow.cpp

index adf0e851942c65ddb84c65b27b7b5849c34708a5..e5d78d22533d7df0fd5ef4b272c4795b91965f18 100644 (file)
@@ -1062,7 +1062,9 @@ void MainWindow::updateUIForFullscreen() {
     if (views->currentWidget() == mediaView)
         mediaView->setFocus();
 
-    if (!m_fullscreen) {
+    if (m_fullscreen) {
+        hideMouse();
+    } else {
         mouseTimer->stop();
         unsetCursor();
     }