#include "help.h"
#include "motif.h"
+#include "ewmhicon.h"
#include "motifopt.h"
#include "game.h"
#include "version.h"
{
game_reset(&state.board);
- x11_redraw_goal(&state, -1);
+ x11_redraw_goal(&state, -1, get_shell(w));
x11_redraw_game(&state, -1);
- x11_redraw_icon(&state, get_shell(w));
if (!state.timer_tick) {
XtAppContext app = XtWidgetToApplicationContext(w);
state.use_ewmh_icons = ewmh_probe_wm_icon(shell);
XtRealizeWidget(shell);
- x11_redraw_icon(&state, shell);
+ x11_redraw_goal(&state, 0, shell);
return app;
}