How to move widgets between screens
-
I have compiled my QT program for raspberry pi and it works fine except I cant figure out how to use the move function on a window to move the window between the different displays I have connected to my pi.
I create three different widgets which should show on three separate displays.
It works fine on my windows machine so I assume its something to do with Raspbian's window manager?
Thanks
-
Hi,
Any chances you are using Wayland as display manager ?
-
@SuperMonkeyRules
Then @SGaist is likely to follow up with: "under Wayland the window manager is in control of all layout, including window positions", and does not let you interfere with that. At least with the current/standard compositor. -
@SuperMonkeyRules what @JonB said !
But there might be some hope with QWindow::startSystemMove. See this StackOverflow thread. I haven't tested it yet though.