add -nowmfullscreen argument to kill detection of support for window-manager-assisted fullscreen support.
this WILL break alt-tab and things. use with caution (tip: use +set vidx_grabkeyboard 1 to block alt-tab completely, ensuring it can't break too much. if the game becomes unresponsive, you're completely screwed). x11 is so fucked. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4746 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
11279542a1
commit
abde2fa81b
1 changed files with 6 additions and 0 deletions
|
@ -1440,6 +1440,12 @@ qboolean X_CheckWMFullscreenAvailable(void)
|
|||
qboolean success = false;
|
||||
unsigned char *wmname;
|
||||
int i;
|
||||
|
||||
if (!COM_CheckParm("-nowmfullscreen"))
|
||||
{
|
||||
Con_Printf("Window manager fullscreen support disabled. Will attempt to hide from it instead.\n");
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
if (x11.pXGetWindowProperty(vid_dpy, vid_root, xa_net_supporting_wm_check, 0, 16384, False, AnyPropertyType, &type, &format, &nitems, &bytes_after, &prop) != Success || prop == NULL)
|
||||
|
|
Loading…
Reference in a new issue