steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Half Life does not respect -noborder

Open kevincox opened this issue 13 years ago • 9 comments

When starting half-life with -window -noborder -w $width -h $height it still displays a border around the window.

This is really annoying on my multi-monitor setup because in fullscreen mode it fullscreens on my secondary monitor. This means that I would have to play with my head turned the entire time which isn't very comfortable. If I could convince it to fullscreen on the proper monitor it would be a work-around but I would still prefer playing windowed with no border.

kevincox avatar Jan 28 '13 16:01 kevincox

I don't think there has ever been a "-noborder" launch option on the HL1 Engine, so it isn't specific to Linux.

AnAkkk avatar Jan 28 '13 17:01 AnAkkk

Oh, I was looking at https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters and it says command line options for source games. But after looking at it for longer it appears they are only talking about newer games. (All of the command lines are referring to hl2.exe).

I guess I am looking for a way to select which monitor it starts on then.

kevincox avatar Jan 28 '13 18:01 kevincox

Everything except the Noborder should work correctly, try out a smaller res and try to move the window when alt-tabbing.

v3nd3tta1337 avatar Jan 28 '13 18:01 v3nd3tta1337

Half-Life 1 has no noborder option, so that would be the problem.

alfred-valve avatar Jan 28 '13 18:01 alfred-valve

Is it just me or has support for this option been added?

kevincox avatar Feb 01 '13 18:02 kevincox

Looks like it might have.

johndrinkwater avatar Feb 01 '13 19:02 johndrinkwater

Cool!

kevincox avatar Feb 01 '13 19:02 kevincox

Yup, I added -noborder support. Looking back at the comments here I didn't make that clear when I closed the bug.

alfred-valve avatar Feb 01 '13 20:02 alfred-valve

-noborder does not seem to work with Windows 10. Sure, it removes the Title bar, but it still displays a small border. image image

ghost avatar May 17 '20 19:05 ghost