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:
parent
0eb0ce0015
commit
6387bb8923
|
@ -14523,9 +14523,8 @@ def _convert_window_to_tk(window):
|
||||||
window.TKroot.y = int(y)
|
window.TKroot.y = int(y)
|
||||||
window.starting_window_position = (int(x), (int(y)))
|
window.starting_window_position = (int(x), (int(y)))
|
||||||
master.update_idletasks() # don't forget
|
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
|
return
|
||||||
|
|
||||||
|
@ -14614,8 +14613,7 @@ def StartupTK(window):
|
||||||
window.SetIcon(window.WindowIcon)
|
window.SetIcon(window.WindowIcon)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
root.attributes('-alpha',
|
root.attributes('-alpha', 1 if window.AlphaChannel is None else window.AlphaChannel) # Make window visible again
|
||||||
1 if window.AlphaChannel is None else window.AlphaChannel) # Make window visible again
|
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue