Removed the recently added test for Mac so that the SECOND of the wm_overriderediects is restored like it was last week.

This commit is contained in:
PySimpleGUI 2021-07-31 14:46:26 -04:00
parent 0eb0ce0015
commit 6387bb8923
1 changed files with 3 additions and 5 deletions

View File

@ -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