diff --git a/src/qml/presenter/MainWindow.qml b/src/qml/presenter/MainWindow.qml index ea70361..9c4ad37 100644 --- a/src/qml/presenter/MainWindow.qml +++ b/src/qml/presenter/MainWindow.qml @@ -188,7 +188,11 @@ Controls.Page { if (present) { presentation.loadVideo(); + pWindow.screen = presentationScreen; + print("For window: Screen is: " + pWindow.screen + " And selected screen is: " + presentationScreen); pWindow.showFullScreen(); + pWindow.screen = presentationScreen; + print("For window: Screen is: " + pWindow.screen + " And selected screen is: " + presentationScreen); } else pWindow.close(); diff --git a/src/qml/presenter/PresentationWindow.qml b/src/qml/presenter/PresentationWindow.qml index 82d8980..49001fb 100644 --- a/src/qml/presenter/PresentationWindow.qml +++ b/src/qml/presenter/PresentationWindow.qml @@ -15,7 +15,8 @@ Window { screen: presentationScreen opacity: 1.0 transientParent: null - /* flags: Qt.X11BypassWindowManagerHint */ + modality: Qt.NonModal + flags: Qt.FramelessWindowHint onClosing: { presentationSlide.stopVideo(); SlideObject.pause(); @@ -23,9 +24,7 @@ Window { } Component.onCompleted: { - /* presentationWindow.showFullScreen(); */ print(screen.name); - showMinimized(); } Presenter.Slide {