rnd-20001204-1-src
[rocksndiamonds.git] / src / libgame / x11.c
index 4ac4f4fd3b80bdf99662fa7f1a550ed85e6e0a5e..3ee9b582a2e59ad949801e95062b27f18429a3e7 100644 (file)
@@ -1,18 +1,19 @@
 /***********************************************************
-*  Rocks'n'Diamonds -- McDuffin Strikes Back!              *
+* Artsoft Retro-Game Library                               *
 *----------------------------------------------------------*
-*  ©1995 Artsoft Development                               *
-*        Holger Schemel                                    *
-*        33659 Bielefeld-Senne                             *
-*        Telefon: (0521) 493245                            *
-*        eMail: aeglos@valinor.owl.de                      *
-*               aeglos@uni-paderborn.de                    *
-*               q99492@pbhrzx.uni-paderborn.de             *
+* (c) 1994-2000 Artsoft Entertainment                      *
+*               Holger Schemel                             *
+*               Detmolder Strasse 189                      *
+*               33604 Bielefeld                            *
+*               Germany                                    *
+*               e-mail: info@artsoft.org                   *
 *----------------------------------------------------------*
-*  x11.c                                                   *
+* x11.c                                                    *
 ***********************************************************/
 
-#include "libgame.h"
+#include "system.h"
+#include "misc.h"
+
 
 #if defined(TARGET_X11)
 
@@ -185,7 +186,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,