+#ifndef Q_WS_X11
+ // mac::IsFullScreen(winId())
+ if (event->type() == QEvent::MouseMove && m_fullscreen) {
+
+ // show the normal cursor
+ unsetCursor();
+ // then hide it again after a few seconds
+ mouseTimer->start();
+
+ QMouseEvent *mouseEvent = static_cast<QMouseEvent*> (event);
+ const int x = mouseEvent->pos().x();
+ const QString className = QString(obj->metaObject()->className());
+ const bool isHoveringVideo = className == "QGLWidget";
+ // qDebug() << obj << x << isHoveringVideo << mediaView->isPlaylistVisible();
+ if (mediaView->isPlaylistVisible()) {
+ if (isHoveringVideo && x > 5) mediaView->setPlaylistVisible(false);
+ } else {
+ bool visible = (isHoveringVideo && x >= 0 && x < 5);
+ mediaView->setPlaylistVisible(visible);
+ }
+ }
+#endif
+