Page 1 of 1

Application switch between monitors?

Posted: Thu Oct 07, 2004 5:28 pm
by marvin
Can someone help me with some codes to build a gadget to switch my application to a desired monitor?

I have multiple monitors and want to know how to add support in my applications, the ability to select which monitor I want to display to.

Thanks

Posted: Thu Oct 07, 2004 10:32 pm
by blueznl
the x_lib (just a regular includefile) from my website contains a documented procedure x_monitordetect(), you can use it for more information on desktops / screeens / multi monitor setup

(iirc fred has included some multi monitor (read: desktop) commands, but not complete yet)

basically, every monitor has a set of assigned coordinates and sizes, moving a window to another monitor is basically moving it to another set of coordinates, that's all that there is too it