From 6387bb89234b1a9322a6a0495cbf33ca448042e6 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Sat, 31 Jul 2021 14:46:26 -0400 Subject: [PATCH] Removed the recently added test for Mac so that the SECOND of the wm_overriderediects is restored like it was last week. --- PySimpleGUI.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index a062c0bc..31c93efc 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -14523,9 +14523,8 @@ def _convert_window_to_tk(window): window.TKroot.y = int(y) window.starting_window_position = (int(x), (int(y))) master.update_idletasks() # don't forget - # The Mac is sensative to notitlebar, so skipping the second call - if not running_mac(): - _no_titlebar_setup(window) + + _no_titlebar_setup(window) return @@ -14614,8 +14613,7 @@ def StartupTK(window): window.SetIcon(window.WindowIcon) try: - root.attributes('-alpha', - 1 if window.AlphaChannel is None else window.AlphaChannel) # Make window visible again + root.attributes('-alpha', 1 if window.AlphaChannel is None else window.AlphaChannel) # Make window visible again except: pass