1 --- stepmania-cvs-orig/src/archutils/Unix/X11Helper.cpp 2006-12-18 19:42:26.000000000 -0600
2 +++ stepmania-cvs/src/archutils/Unix/X11Helper.cpp 2007-02-13 00:10:24.000000000 -0600
5 +#include "stepmania.xpm"
11 XFreeCursor( Dpy, pBlankPointer );
14 + Pixmap step_win_icon, step_win_mask;
15 + XpmCreatePixmapFromData(Dpy, win, stepmania_icon, &step_win_icon, &step_win_mask, NULL);
16 + XWMHints* win_hints;
17 + win_hints = XAllocWMHints();
18 + win_hints->flags = IconPixmapHint | IconMaskHint;
19 + win_hints->icon_pixmap = step_win_icon;
20 + win_hints->icon_mask = step_win_mask;
21 + XSetWMHints(Dpy, win, win_hints);
28 --- stepmania-cvs-orig/autoconf/m4/opengl.m4 2006-06-27 19:56:00.000000000 -0500
29 +++ stepmania-cvs/autoconf/m4/opengl.m4 2007-02-13 00:14:47.000000000 -0600
33 XLIBS="$XLIBS -lXrandr"
34 + AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, XLIBS="$XLIBS -lXpm")
37 AM_CONDITIONAL(HAVE_X11, test "$no_x" != "yes")
39 --- stepmania-cvs-orig/src/arch/LoadingWindow/LoadingWindow_GtkModule.cpp 2004-09-13 18:39:33.000000000 -0500
40 +++ stepmania-cvs/src/arch/LoadingWindow/LoadingWindow_GtkModule.cpp 2007-03-26 06:13:47.000000000 -0500
44 #include "loading.xpm"
45 +#include "stepmania.xpm"
47 static GtkWidget *label;
48 static GtkWidget *window;
53 + GdkPixbuf *load_win_icon;
55 gtk_disable_setlocale();
56 if( !gtk_init_check(argc,argv) )
58 gtk_widget_realize(window);
59 loadmap = gdk_pixmap_create_from_xpm_d(window->window,NULL,NULL,loading);
60 loadimage = gtk_image_new_from_pixmap(loadmap,NULL);
61 + load_win_icon = gdk_pixbuf_new_from_xpm_data((const char**)stepmania_icon);
62 + gtk_window_set_icon(GTK_WINDOW(window), load_win_icon);
63 + g_object_unref (load_win_icon);
64 label = gtk_label_new(NULL);
65 gtk_label_set_justify(GTK_LABEL(label),GTK_JUSTIFY_CENTER);
66 vbox = gtk_vbox_new(FALSE,5);