X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/f0704cba12e437bbe72744281af71ec19951db46..5a4a23e5e8032dfa1f7b73facb32f0c9ab200765:/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; }