diff options
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); |