--- wmclockmon-0.8.1/src/dockapp.c.orig 2007-04-05 14:20:29 +0400 +++ wmclockmon-0.8.1/src/dockapp.c 2007-04-05 14:27:28 +0400 @@ -132,9 +132,16 @@ dockapp_open_window(char *display_specif /* 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);