ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.68k stars 622 forks source link

Add blocking minimizing the game when you press alt+tab #2368

Open perforatorRU opened 5 years ago

perforatorRU commented 5 years ago

Peace!

kisak-valve commented 5 years ago

On linux, this is an option by adding SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 %command% to the game's launch option (or any other game using SDL2).

afwn90cj93201nixr2e1re commented 5 years ago

@kisak-valve @mikela-valve also add blocking steam overlay showing when pressing shift with tab in-game. Because with shift we walk and wanna see who's dead in tab, and steam overlay comming instead of tab, that's noisy.

SamVanheer commented 5 years ago

You can change the key binds for the overlay in the Steam settings.

afwn90cj93201nixr2e1re commented 5 years ago

this isn't a solution

ghost commented 5 years ago

nooo!!! these are problems that already have solutions without changing it for everyone, please don't

ghost commented 5 years ago

Peace!

I think you can use -windowed -borderless to make the game run in a borderless window, so you can alt-tab without minimizing the window

perforatorRU commented 5 years ago

It will be optional...