From 20280336dd0480ca59c812db083ceb562d78bf4a Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 5 Apr 2008 11:22:21 +0000 Subject: moved setting of the window title --- src/engine/external/glfw/lib/x11/x11_window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/engine/external/glfw/lib/x11/x11_window.c') diff --git a/src/engine/external/glfw/lib/x11/x11_window.c b/src/engine/external/glfw/lib/x11/x11_window.c index d9d97be4..056991b4 100644 --- a/src/engine/external/glfw/lib/x11/x11_window.c +++ b/src/engine/external/glfw/lib/x11/x11_window.c @@ -978,6 +978,9 @@ int _glfwPlatformOpenWindow( int width, int height, int redbits, return GL_FALSE; } + // Set window & icon name + _glfwPlatformSetWindowTitle( "Teeworlds" ); + // Get the delete window WM protocol atom _glfwWin.WMDeleteWindow = XInternAtom( _glfwLibrary.Dpy, "WM_DELETE_WINDOW", @@ -1072,9 +1075,6 @@ int _glfwPlatformOpenWindow( int width, int height, int redbits, _glfwWin.Width/2, _glfwWin.Height/2 ); } - // Set window & icon name - _glfwPlatformSetWindowTitle( "GLFW Window" ); - // Connect the context to the window glXMakeCurrent( _glfwLibrary.Dpy, _glfwWin.Win, _glfwWin.CX ); -- cgit 1.4.1