X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=4abcc4a42e04535dbd2a7dc8fa5092f6b3683217;hb=1cef4c7bc66248cfa1ab9e33ddfa336f9e083183;hp=4ac6084df9cfef290670bd5718a95f48844ed8df;hpb=3018a62f2d049e7295b703ce7780a9bd2c547ada;p=xboard.git 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