Index: src/dockapp.c =================================================================== --- src/dockapp.c (revision 184) +++ src/dockapp.c (revision 185) @@ -132,9 +132,16 @@ /* Set WindowTitle for AfterStep Wharf */ stat = XStringListToTextProperty(&appname, 1, &title); + if (stat == 0) { + fprintf(stderr, "%s: can't convert string to text property structure!\n", argv[0]); + exit(1); + } + XSetWMName(display, window, &title); XSetWMName(display, icon_window, &title); + XFree(title.value); + /* Set Command to start the app so it can be docked properly */ XSetCommand(display, window, argv, argc);