# Full screen window that spans across two monitors

**URL:** <https://discourse.glfw.org/t/full-screen-window-that-spans-across-two-monitors/697>\
**Category:** support\
**Created:** [July 4, 2016, 11:25am UTC](https://discourse.glfw.org/t/full-screen-window-that-spans-across-two-monitors/697 "2016-07-04T11:25:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![f\_lande](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@f\_lande](https://discourse.glfw.org/u/f_lande)\
**Post date:** [July 4, 2016, 11:25am UTC](https://discourse.glfw.org/t/full-screen-window-that-spans-across-two-monitors/697/1 "2016-07-04T11:25:32Z")

</div>

Hi GLFW forum,  
I’m trying to understand whether it is feasible in GLFW (3.2, on Ubuntu 32 bit) to create a single window, in full screen mode, that spans across the primary and secondary monitor, so to be able to address its area in either or both screen through client window coordinates.  
Any help is more than welcome!!

Best regards,

f\_lande

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [July 4, 2016, 12:02pm UTC](https://discourse.glfw.org/t/full-screen-window-that-spans-across-two-monitors/697/2 "2016-07-04T12:02:41Z")

</div>

You can’t use traditional fullscreen mode [as this can only set a window to fullscreen on one monitor](http://www.glfw.org/docs/latest/window_guide.html#window_monitor). However you may be able to create a [non-decorated maximized window](http://www.glfw.org/docs/latest/window_guide.html#window_hints_wnd) which covers both monitors.

---

<div class="post-metadata">

**Author:** ![f\_lande](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@f\_lande](https://discourse.glfw.org/u/f_lande)\
**Post date:** [July 4, 2016, 2:07pm UTC](https://discourse.glfw.org/t/full-screen-window-that-spans-across-two-monitors/697/3 "2016-07-04T14:07:25Z")

</div>

Hi dougbinks,  
thanks for your prompt reply.  
I did try to implement your suggestion, and I can nearly achieve what I was looking for, although I do not get a real “full screen” window, since the top line of the Ubuntu desktop is still visible, on both screens, but it’s anyway a good approximation.  
Thanks & best regards,

f\_lande

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [July 4, 2016, 2:35pm UTC](https://discourse.glfw.org/t/full-screen-window-that-spans-across-two-monitors/697/4 "2016-07-04T14:35:47Z")

</div>

The ability to create a single window covering multiple monitors in fullscreen is useful, so I would [consider adding this as a feature request to the GLFW issue list](https://github.com/glfw/glfw/issues). If you don’t have an account I could file the request for you.

Note that in a quick test on Windows 10 I get a fullscreen window when I call **glfwMaximizeWindow** on a non-decorated window - I was hoping this would be the same for Linux but haven’t had time to test.

---

<div class="post-metadata">

**Author:** ![elmindreda](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/elmindreda/32/26_2.png) [@elmindreda](https://discourse.glfw.org/u/elmindreda)\
**Post date:** [July 4, 2016, 5:20pm UTC](https://discourse.glfw.org/t/full-screen-window-that-spans-across-two-monitors/697/5 "2016-07-04T17:20:10Z")

</div>

Maximization will likely make it cover only one monitor, but a floating (always-on-top) window might do the trick. It won’t be a full screen window according to the WM, but it should cover the global menu bar.
