From dbd0598bed740c7c670f170b452a23cd150e04f0 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 16 Feb 2012 12:57:47 +0100 Subject: [PATCH] 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. --- xboard.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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) \ -- 1.7.0.4