sgl

changeset 21:5d38efd33da0

fixed a bug which prevented wsys_x11 to set the initial window title correctly
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 26 Jun 2011 08:01:55 +0300
parents 0697fbd075b6
children b5c852d7661e
files src/wsys_x11.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/src/wsys_x11.c	Sun Jun 26 07:56:13 2011 +0300
     1.2 +++ b/src/wsys_x11.c	Sun Jun 26 08:01:55 2011 +0300
     1.3 @@ -193,8 +193,6 @@
     1.4  
     1.5  	XSetWMProtocols(dpy, win, &xa_wm_del_win, 1);
     1.6  
     1.7 -	set_title("OpenGL/X11");
     1.8 -
     1.9  	chint.res_name = chint.res_class = "simplygl";
    1.10  	XSetClassHint(dpy, win, &chint);
    1.11  
    1.12 @@ -215,6 +213,7 @@
    1.13  	} else {
    1.14  		activate_window(wnode);
    1.15  	}
    1.16 +	set_title("OpenGL/X11");
    1.17  
    1.18  	if((func = sgl_get_callback(SGL_CREATE))) {
    1.19  		func(win);