X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fx11.c;h=fef8bcf9ed2e74590ac69efa2bc97bde04f0fef8;hb=94b124e87edbd2e12d7b83f45254fcbfff8554cd;hp=4ac4f4fd3b80bdf99662fa7f1a550ed85e6e0a5e;hpb=49221e59bff18cdfbef8c877b588280266ae5037;p=rocksndiamonds.git diff --git a/src/libgame/x11.c b/src/libgame/x11.c index 4ac4f4fd..fef8bcf9 100644 --- a/src/libgame/x11.c +++ b/src/libgame/x11.c @@ -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,