Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Dual monitors: Fullscreen push away windows  (Read 3047 times)

0 Members and 1 Guest are viewing this topic.

Gonzilla

  • Newbie
  • *
  • Posts: 21
    • View Profile
Dual monitors: Fullscreen push away windows
« on: May 10, 2012, 10:33:12 am »
I have a dual monitor and when I set fullscreen, the SFML window (Monitor 1) push all the other windows on the other monitor (Monitor 2).

When I press WindowsKey + E the explorer normally opens on monitor 1 but after fullscreen it opens on monitor 2!?

Here are my monitor settings. Monitor 1 is the primary monitor.



eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10829
    • View Profile
    • development blog
    • Email
Re: Dual monitors: Fullscreen push away windows
« Reply #1 on: May 10, 2012, 10:41:50 am »
And where's the question? :o

I guess you want the window to go to fullscreen on the monitor you've your application moved to, right?
I'm not sure if this is possible, there's a reason why windows declairs them as primary and seconday screen and I haven't seen an application that fullscreens on the secondary monitor.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Dual monitors: Fullscreen push away windows
« Reply #2 on: May 10, 2012, 10:47:02 am »
Quote
the SFML window (Monitor 1) push all the other windows on the other monitor
Really? Never seen that before ???
Laurent Gomila - SFML developer

Gonzilla

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Dual monitors: Fullscreen push away windows
« Reply #3 on: May 10, 2012, 11:05:33 am »
@eXpl0it3r
Why no question? I think this is a bug. The window go to fullscreen on the monitor I start the application, that's not the bug. The bug I think is that the SFML window push the Microsoft Windows windows away on the monitor 2.

Following constellation is very interessting:
VideoMode = 640x480 fullscreen => Push windows away
VideoMode = 1024x768 fullscreen => All windows are normal, just one window on the second monitor is resized

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Dual monitors: Fullscreen push away windows
« Reply #4 on: May 10, 2012, 11:42:43 am »
Quote
VideoMode = 640x480 fullscreen => Push windows away
Oh, so that's normal. Since the resolution of the screen is much smaller, windows' coordinates become bigger than the right border and then appear on the other monitor.
Laurent Gomila - SFML developer

Gonzilla

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Dual monitors: Fullscreen push away windows
« Reply #5 on: May 10, 2012, 12:05:30 pm »
Oh I didn't now that. Thanks for the explanation.