Added support for (GL|SW)VID_SetCaption to the X code.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2486 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2007-03-28 12:57:05 +00:00
parent 900d16ee65
commit 3df97e1e19
2 changed files with 12 additions and 0 deletions

View file

@ -1081,3 +1081,9 @@ void GLVID_ForceLockState (int lk) {}
void GLVID_HandlePause (qboolean pause) {} void GLVID_HandlePause (qboolean pause) {}
void GL_DoSwap(void) {} void GL_DoSwap(void) {}
void GLVID_SetCaption(char *text)
{
XStoreName(vid_dpy, vid_window, text);
}

View file

@ -1379,3 +1379,9 @@ void SWVID_ForceLockState (int lk)
void SWVID_HandlePause (qboolean pause) void SWVID_HandlePause (qboolean pause)
{ {
} }
void SWVID_SetCaption(char *text)
{
XStoreName(vid_dpy, x_win, text);
}