diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-09-20 18:24:45 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-09-20 18:28:53 +0100 |
commit | 91b25dd237781d76280968017cf66141674aed12 (patch) | |
tree | 9b024e2547196830c5a1891b93948aa18e9c11c0 | |
parent | ae848091cdc69a1639cb96eec7ffa23ad854edf4 (diff) |
Give glxdemo's window a title
-rw-r--r-- | progs/xdemos/glxdemo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/xdemos/glxdemo.c b/progs/xdemos/glxdemo.c index 37df64ebee..843aabb329 100644 --- a/progs/xdemos/glxdemo.c +++ b/progs/xdemos/glxdemo.c @@ -76,6 +76,8 @@ static Window make_rgb_db_window( Display *dpy, 0, visinfo->depth, InputOutput, visinfo->visual, mask, &attr ); + XStoreName(dpy, win, "GLXDemo"); + ctx = glXCreateContext( dpy, visinfo, NULL, True ); if (!ctx) { printf("Error: glXCreateContext failed\n"); |