Merge pull request #4568 from PySimpleGUI/Dev-latest
Removed the recently added test for Mac so that the SECOND of the wm_…
This commit is contained in:
		
						commit
						385c86d9bf
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue