trying to force second window to use the right screen
This commit is contained in:
parent
e05beb3857
commit
edc0af3690
2 changed files with 6 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue