ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
787 stars 69 forks source link

Game window shrinks to the resoltion of original launch monitor when ALT + TAB #2142

Open llama47 opened 8 years ago

llama47 commented 8 years ago

Your system information

Please describe your issue in as much detail as possible:

When i open up a game (cs go) it launches on my secondary 1050p monitor, no problem i just drag to main monitor, however when i alt + tab and re enter the game window resizes to the 1050p monitor leaving me a black bar down the last 1/6th ish of my screen i have tried the SDL launch options and that does not help. I can fix this by dragging window to another screen then back to my original monitor but becomes annoying every time i alt tab i must drag across two windows. I have confirmed its resizing to the original monitor as when i put the 1050p monitor in portrait mode the game has the same dimensions.

Steps for reproducing this issue:

  1. Open Counter strike global offensive (probably any game).
  2. Press super key and drag game window to primary monitor.
  3. Alt + Tab.
  4. Alt + Tab back to game window.
  5. Observe resized window.
gdrewb-valve commented 8 years ago

For future issues the csgo-osx-linux area is where CS:GO problems should be reported.

Tele42 commented 8 years ago

I have a feeling this is a side effect of CS:GO not enumerating displays reliably (https://github.com/ValveSoftware/csgo-osx-linux/issues/60).

llama47 commented 8 years ago

You are correct i downloaded another game to test and i was able to alt + tab without the resize problem. My mistake sorry!

timvisee commented 7 years ago

I'm experiencing the same, still. I do have a differently sized secondary monitor than you have (and yes, also differently sized than my primary) and the exact same problem seems to happen.