rnd-20001203-4-src
[rocksndiamonds.git] / src / libgame / x11.c
index 4ac4f4fd3b80bdf99662fa7f1a550ed85e6e0a5e..fef8bcf9ed2e74590ac69efa2bc97bde04f0fef8 100644 (file)
@@ -185,7 +185,7 @@ static DrawWindow X11InitWindow()
   wm_hints.icon_mask = iconmask_pixmap;
   wm_hints.flags = StateHint | IconPixmapHint | IconMaskHint | InputHint;
 
-  class_hints.res_name = program.command_name;
+  class_hints.res_name = program.command_basename;
   class_hints.res_class = program.program_title;
 
   XSetWMProperties(display, new_window->drawable, &windowName, &iconName,