# HG changeset patch # User John Tsiombikas # Date 1309064515 -10800 # Node ID 5d38efd33da0e084c2ca5d8e00c2a1d87b0a107b # Parent 0697fbd075b6dc14179708362ffa662f41c4b730 fixed a bug which prevented wsys_x11 to set the initial window title correctly diff -r 0697fbd075b6 -r 5d38efd33da0 src/wsys_x11.c --- a/src/wsys_x11.c Sun Jun 26 07:56:13 2011 +0300 +++ b/src/wsys_x11.c Sun Jun 26 08:01:55 2011 +0300 @@ -193,8 +193,6 @@ XSetWMProtocols(dpy, win, &xa_wm_del_win, 1); - set_title("OpenGL/X11"); - chint.res_name = chint.res_class = "simplygl"; XSetClassHint(dpy, win, &chint); @@ -215,6 +213,7 @@ } else { activate_window(wnode); } + set_title("OpenGL/X11"); if((func = sgl_get_callback(SGL_CREATE))) { func(win);