From 3543c4475882e926f641fc091222ef58c766e3c0 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Thu, 21 Oct 2021 10:03:54 -0400 Subject: [PATCH] Fox for non-blocking windows support of the control click grab anywhere --- PySimpleGUI.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 1bbaf1bc..1d1d8948 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,7 +1,7 @@ #!/usr/bin/python3 -version = __version__ = "4.51.2.2 Unreleased" +version = __version__ = "4.51.2.3 Unreleased" _change_log = """ @@ -16,6 +16,8 @@ _change_log = """ Let's see if anyone notices or complains 4.51.2.2 Fix for expand_x, expand_y on Scrollable Columns + 4.51.2.3 + Grab anywhere with control key fix for non-blocking windows """ __version__ = version.split()[0] # For PEP 396 and PEP 345 @@ -15273,7 +15275,7 @@ def StartupTK(window): root.bind("", window._StopMove) root.bind("", window._OnMotion) if (window.GrabAnywhereUsingControlKey is not False and not ( - window.NonBlocking and window.GrabAnywhere is not True)): + window.NonBlocking and window.GrabAnywhereUsingControlKey is not True)): root.bind("", window._StartMove) root.bind("", window._StopMove) root.bind("", window._OnMotion)