X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=89fcb70ddf6546815a822c98bd82b97421aafe4c;hb=681dfc03596526017b3b8f39caef7f8f7c032987;hp=a676d24f6f1a9859e62a1811d6218959e565b730;hpb=bf07cc0c5232c7cd486fab118defa0815ff89183;p=xboard.git diff --git a/xboard.c b/xboard.c index a676d24..89fcb70 100644 --- a/xboard.c +++ b/xboard.c @@ -1130,8 +1130,12 @@ char boardTranslations[] = Any: XawPositionSimpleMenu(menuB) XawPositionSimpleMenu(menuD) \ PieceMenuPopup(menuB) \n"; -char whiteTranslations[] = ": WhiteClock()\n"; -char blackTranslations[] = ": BlackClock()\n"; +char whiteTranslations[] = + "Shift: WhiteClock(1)\n \ + : WhiteClock(0)\n"; +char blackTranslations[] = + "Shift: BlackClock(1)\n \ + : BlackClock(0)\n"; char ICSInputTranslations[] = "Up: UpKeyProc() \n " @@ -4141,6 +4145,7 @@ void WhiteClock(w, event, prms, nprms) String *prms; Cardinal *nprms; { + shiftKey = prms[0][0] & 1; ClockClick(0); } @@ -4150,6 +4155,7 @@ void BlackClock(w, event, prms, nprms) String *prms; Cardinal *nprms; { + shiftKey = prms[0][0] & 1; ClockClick(1); }