diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-03-24 17:28:27 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2006-03-24 17:28:27 +0000 |
commit | f09fb92fca047f5a015a2bf264d1b44590a091e8 (patch) | |
tree | 01b65863613c504a696936340b748fedd38290a4 /code/unix | |
parent | 22c044b422fab754b9c2bda106050ab841978843 (diff) | |
download | ioquake3-aero-f09fb92fca047f5a015a2bf264d1b44590a091e8.tar.gz ioquake3-aero-f09fb92fca047f5a015a2bf264d1b44590a091e8.zip |
* Change window title
git-svn-id: svn://svn.icculus.org/quake3/trunk@666 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r-- | code/unix/linux_glimp.c | 4 | ||||
-rw-r--r-- | code/unix/sdl_glimp.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/code/unix/linux_glimp.c b/code/unix/linux_glimp.c index 32eac3f..1a0b4fd 100644 --- a/code/unix/linux_glimp.c +++ b/code/unix/linux_glimp.c @@ -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; diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c index 3c5dc6d..29fe0ed 100644 --- a/code/unix/sdl_glimp.c +++ b/code/unix/sdl_glimp.c @@ -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); |