X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fx11.c;h=931e9d5c5a62e6aba813fbe764b9661c2010a646;hb=3d07b68a314ce189f207e42d95f786979662410d;hp=4ac4f4fd3b80bdf99662fa7f1a550ed85e6e0a5e;hpb=621b6a2c4781c9c3e2f5849f9c184a906e0ce5b6;p=rocksndiamonds.git diff --git a/src/libgame/x11.c b/src/libgame/x11.c index 4ac4f4fd..931e9d5c 100644 --- a/src/libgame/x11.c +++ b/src/libgame/x11.c @@ -12,7 +12,9 @@ * x11.c * ***********************************************************/ -#include "libgame.h" +#include "system.h" +#include "misc.h" + #if defined(TARGET_X11) @@ -185,7 +187,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,