* Change window title

This commit is contained in:
Tim Angus 2006-03-24 17:28:27 +00:00
parent 4f55e9f989
commit f63472025f
5 changed files with 11 additions and 14 deletions

View file

@ -81,8 +81,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define HAVE_XF86DGA
#endif
#define WINDOW_CLASS_NAME "Quake III: Arena"
typedef enum
{
RSERR_OK,
@ -1150,7 +1148,7 @@ int GLW_SetMode( const char *drivername, int mode, qboolean fullscreen )
0, visinfo->depth, InputOutput,
visinfo->visual, mask, &attr);
XStoreName( dpy, win, WINDOW_CLASS_NAME );
XStoreName( dpy, win, CLIENT_WINDOW_TITLE );
/* GH: Don't let the window be resized */
sizehints.flags = PMinSize | PMaxSize;

View file

@ -89,9 +89,6 @@ typedef void *QGLContext;
static QGLContext opengl_context;
#define WINDOW_CLASS_NAME "Quake III: Arena"
#define WINDOW_CLASS_NAME_BRIEF "quake3"
//#define KBD_DBG
typedef enum
@ -632,7 +629,7 @@ static int GLW_SetMode( const char *drivername, int mode, qboolean fullscreen )
SDL_GL_SetAttribute( SDL_GL_STENCIL_SIZE, tstencilbits );
SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
SDL_WM_SetCaption(WINDOW_CLASS_NAME, WINDOW_CLASS_NAME_BRIEF);
SDL_WM_SetCaption(CLIENT_WINDOW_TITLE, CLIENT_WINDOW_ICON);
SDL_ShowCursor(0);
SDL_EnableUNICODE(1);
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);