# Multiple Monitors

**URL:** <https://discourse.glfw.org/t/multiple-monitors/138>\
**Category:** support\
**Created:** [July 24, 2015, 12:33am UTC](https://discourse.glfw.org/t/multiple-monitors/138 "2015-07-24T00:33:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [July 24, 2015, 12:33am UTC](https://discourse.glfw.org/t/multiple-monitors/138/1 "2015-07-24T00:33:04Z")

</div>

**[sheeri185adidam](https://sourceforge.net/u/sheeri185adidam/)** wrote on [Friday, July 24, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/689f0c00/#9e7e):

Hi,

I have two monitors each rendered by separate graphics card(Nvidia GT630). My desktop screen(suse linux) is on one of the monitors(say it MAIN). However, I can move my application windows to the second monitor. When I run the ‘monitors’ test program, it shows that I have only one monitor, and returns the resolution for it(MAIN monitor). when I create a window for sample application that I have, in fullscreen mode, the application window is seen only on MAIN and does not span on the second monitor.

Why does not the ‘monitors’ program return the number of monitors as 2 ?  
I assume my MAIN monitor is X11 screen 0 and other monitor is X11 screen 1.

Any idea what is happening here ?

Thanks,  
Sheeri

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [July 24, 2015, 12:55am UTC](https://discourse.glfw.org/t/multiple-monitors/138/2 "2015-07-24T00:55:50Z")

</div>

**[sheeri185adidam](https://sourceforge.net/u/sheeri185adidam/)** wrote on [Friday, July 24, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/689f0c00/#b8b1):

I have a game application where I want separate window(fullscreen) for each X11 screen.  
for example, in my case since I have two monitors with each representing separate X11 screens(0&1 in this case) I want to create two separate windows on these x11 screens.

Is there a way I can do this ? Currently, as mentioned in the previous comment the ‘monitors’ program returs only one monitor(main), and there is no way I can give x11 screen as an argument to GLFW create window API.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [July 24, 2015, 4:26am UTC](https://discourse.glfw.org/t/multiple-monitors/138/3 "2015-07-24T04:26:32Z")

</div>

**[sheeri185adidam](https://sourceforge.net/u/sheeri185adidam/)** wrote on [Friday, July 24, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/689f0c00/#51c0):

Can anyone please help in this ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [July 28, 2015, 10:00pm UTC](https://discourse.glfw.org/t/multiple-monitors/138/4 "2015-07-28T22:00:48Z")

</div>

**[sheeri185adidam](https://sourceforge.net/u/sheeri185adidam/)** wrote on [Tuesday, July 28, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/689f0c00/#13ca):

Again, can anyone help in this ?
