Bug 4290 - Adds TF2/L4D style "noborder" support to ioquake3
Status: RESOLVED DUPLICATE of bug 4289
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Video
Version: unspecified
Hardware: PC All
: P3 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2009-09-24 19:08 EDT by ensiform
Modified: 2009-09-24 19:09:21 EDT
0 users

See Also:


Attachments
Here's the patch file. (5.08 KB, application/octet-stream)
2009-09-24 19:08 EDT, ensiform

Description ensiform 2009-09-24 19:08:08 EDT
Created attachment 2133 [details]
Here's the patch file.

This basically just removes the window manager border from the game's window
using SDL_NOFRAME if the varaible is true.

com_noborder (defaults to 0).  Must be changed before GLimp_Init or else it
wont be detected as changed.

This is handy for sticking the game window on 1 monitor at noborder + max
resolution and then other windows on your other monitor without dealing with
any messy fullscreen alt-tab screw-ups.

I have only tested this on my normal windowed mode res which is smaller than my
desktop res on my windows build.  So I was not able to test if the window shows
up above the taskbar/superbar or below it.

If anyone wishes to test out this patch and or make additions to it feel free
to do so.

NOTE: makes use of the SDL env vars to center screen. Is this supported across
most SDL versions on at least general Linux/Win32/OSX builds?
Comment 1 ensiform 2009-09-24 19:09:21 EDT
Site was slow and it didn't appear to go through at first sry :(

*** This bug has been marked as a duplicate of bug 4289 ***