X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=a6698cae563a2180a808e9cd68aa23d382634b73;hb=a77d71269906ce8480c66635f4ce12e48f1fc51e;hp=b6abd82f8e4a07caba4b294419db7a94d90bf224;hpb=e3af409047e1992a08e296c1475c94b8a1e5f7b1;p=xboard.git diff --git a/dialogs.c b/dialogs.c index b6abd82..a6698ca 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1909,7 +1909,9 @@ Exp (int n, int x, int y) if(but3) MovePV(x, y, lineGap + BOARD_HEIGHT * (squareSize + lineGap)); return NULL; } - shiftKey = (ShiftKeys() & 3) != 0; + shiftKey = ShiftKeys(); + controlKey = (shiftKey & 0xC) != 0; + shiftKey = (shiftKey & 3) != 0; switch(n) { case 1: LeftClick(Press, x, y), but1 = 1; break; case -1: LeftClick(Release, x, y), but1 = 0; break;