diff options
author | fvogel <fvogelnew1@free.fr> | 2019-06-09 21:15:42 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-06-09 21:15:42 (GMT) |
commit | d1f8383cee18d1bb8d228018c7af12595667d643 (patch) | |
tree | 18f7993937c3172abfa31cc4522835a5eb1d4dbd /generic/tkGrab.c | |
parent | 58999c1d3b468e268278875aa34cb9c93068263b (diff) | |
download | tk-d1f8383cee18d1bb8d228018c7af12595667d643.zip tk-d1f8383cee18d1bb8d228018c7af12595667d643.tar.gz tk-d1f8383cee18d1bb8d228018c7af12595667d643.tar.bz2 |
Change the fix (see details in ticket [75b8fbfd77])
Diffstat (limited to 'generic/tkGrab.c')
-rw-r--r-- | generic/tkGrab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkGrab.c b/generic/tkGrab.c index ade730e..21c06a9 100644 --- a/generic/tkGrab.c +++ b/generic/tkGrab.c @@ -881,7 +881,7 @@ TkPointerEvent( return 1; } } else { - if (eventPtr->xbutton.button == AnyButton || + if (eventPtr->xbutton.button != AnyButton && ((eventPtr->xbutton.state & ALL_BUTTONS) == buttonStates[eventPtr->xbutton.button - Button1])) { ReleaseButtonGrab(dispPtr); /* Note 4. */ |