From 1cef4c7bc66248cfa1ab9e33ddfa336f9e083183 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 8 Feb 2010 11:54:55 +0100 Subject: [PATCH] Do not pop down Seek Graph on on-dot click Leave the graph up, and let the incoming board of a started game cause the pop-down. This in case the clicked ad is no longer vailable, or manuay refused, and fails to start a game. --- backend.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend.c b/backend.c index 4ac6084..4abcc4a 100644 --- a/backend.c +++ b/backend.c @@ -2237,15 +2237,16 @@ int SeekGraphClick(ClickType click, int x, int y, int moving) DisplayMessage(second ? "!" : "", seekAdList[closest]); lastSecond = second; displayed = closest; } - sprintf(buf, "play %d\n", seekNrList[closest]); if(click == Press) { if(moving == 2) zList[closest] = 100; // right-click; push to back on press lastDown = closest; return TRUE; } // on press 'hit', only show info if(moving == 2) return TRUE; // ignore right up-clicks on dot + sprintf(buf, "play %d\n", seekNrList[closest]); SendToICS(ics_prefix); - SendToICS(buf); // should this be "sought all"? + SendToICS(buf); + return TRUE; // let incoming board of started game pop down the graph } else if(click == Release) { // release 'miss' is ignored zList[lastDown] = 100; // make future selection of the rejected ad more difficult if(moving == 2) { // right up-click -- 1.7.0.4