about summary refs log tree commit diff
path: root/src/engine/external
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-04-05 11:22:21 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-04-05 11:22:21 +0000
commit20280336dd0480ca59c812db083ceb562d78bf4a (patch)
tree45d18f2f0702e276896ddf81e3f41268ba4a05f3 /src/engine/external
parentc0f2ef7f914135a54bbce0a56daca2dda2dfa139 (diff)
downloadzcatch-20280336dd0480ca59c812db083ceb562d78bf4a.tar.gz
zcatch-20280336dd0480ca59c812db083ceb562d78bf4a.zip
moved setting of the window title
Diffstat (limited to 'src/engine/external')
-rw-r--r--src/engine/external/glfw/lib/x11/x11_window.c6
1 files changed, 3 insertions, 3 deletions
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 );