X
xaker00
I am attempting to write some code that will display a window on a
specific monitor on a multi-monitor system. I cannot find a
straightforward way of placing a window on a secondary monitor on my
windows machine. The code works well with FreeBSD, but not with a
windows virtual-desktop. Is there a way to not have an extended desktop
on windows, but have separate screens instead (like X11)? I am also
running into the same problem on OSX. Is there a trick to make this
work?
QWidget * QDesktopWidget::screen ( int screen = -1 )
Returns a widget that represents the screen with index screen.
This does not work with virtual desktops, I always get screen 1. Any
workarounds?
specific monitor on a multi-monitor system. I cannot find a
straightforward way of placing a window on a secondary monitor on my
windows machine. The code works well with FreeBSD, but not with a
windows virtual-desktop. Is there a way to not have an extended desktop
on windows, but have separate screens instead (like X11)? I am also
running into the same problem on OSX. Is there a trick to make this
work?
QWidget * QDesktopWidget::screen ( int screen = -1 )
Returns a widget that represents the screen with index screen.
This does not work with virtual desktops, I always get screen 1. Any
workarounds?