X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/f6be82664a5b8e8bc34c048b56417b591dcd5a5e..174f6502f73fa29e1102938029d7b9f59b245c1b:/src/motif.c diff --git a/src/motif.c b/src/motif.c index c8261fc..891fe47 100644 --- a/src/motif.c +++ b/src/motif.c @@ -233,9 +233,8 @@ static void proc_new_game(Widget w, XEvent *e, String *argv, Cardinal *argc) { 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); @@ -282,7 +281,7 @@ static XtAppContext app_initialize(int argc, char **argv) state.use_ewmh_icons = ewmh_probe_wm_icon(shell); XtRealizeWidget(shell); - x11_redraw_icon(&state, shell); + x11_redraw_goal(&state, 0, shell); return app; }