X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/146463c17e9cb49c591aad99a9c2eb857fc064b3..624f1dd49928a65c2cb4a940b584ac076f2142dd:/src/tk/tkscrbar.c diff --git a/src/tk/tkscrbar.c b/src/tk/tkscrbar.c index 6cec27a..bb843bc 100644 --- a/src/tk/tkscrbar.c +++ b/src/tk/tkscrbar.c @@ -974,7 +974,7 @@ ScrollbarMouseProc(clientData, eventPtr) eventPtr->xmotion.y)); } } else if ((eventPtr->type == ButtonPress) - && (eventPtr->xbutton.state == 0)) { + && ((eventPtr->xbutton.state & ALL_BUTTONS) == 0)) { scrollPtr->pressField = scrollPtr->mouseField; if (scrollPtr->pressField != SLIDER) { scrollPtr->autoRepeat = Tk_CreateTimerHandler(