From: H.G. Muller Date: Thu, 16 Feb 2012 11:57:47 +0000 (+0100) Subject: Fix use of middle button for position setup X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=dbd0598bed740c7c670f170b452a23cd150e04f0;p=xboard.git Fix use of middle button for position setup With sweep selection the actual drop is made on releasing the button, and this event was not caught for button 2. Button-2 motion events were also not caught by the sweep-selection handler. --- diff --git a/xboard.c b/xboard.c index 260bddc..6503c29 100644 --- a/xboard.c +++ b/xboard.c @@ -1125,7 +1125,9 @@ char boardTranslations[] = : HandleUserMove(0) \n \ : AnimateUserMove() \n \ : HandlePV() \n \ + : HandlePV() \n \ : PieceMenuPopup(menuB) \n \ + : PieceMenuPopup(menuB) \n \ Shift: XawPositionSimpleMenu(menuB) XawPositionSimpleMenu(menuD)\ PieceMenuPopup(menuB) \n \ Any: XawPositionSimpleMenu(menuW) XawPositionSimpleMenu(menuD) \