Fix teams stupidity by making two swallows
Teams sucks. When it starts, it throws up a load window that has the same class as the main window. So the load screen was getting swallowed, and the main window ended up on whatever workspace was active. Creating two identical windows allows the first one to swallow the load screen, which then disappears when it dies, and the second one swallows the main window, which is the desired result.
This commit is contained in:
		
					parent
					
						
							
								96c2c5ced8
							
						
					
				
			
			
				commit
				
					
						ef1609b15c
					
				
			
		
					 1 changed files with 22 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -37,10 +37,31 @@
 | 
			
		|||
               "y": 18
 | 
			
		||||
            },
 | 
			
		||||
            "marks": [],
 | 
			
		||||
            "name": "Microsoft Teams - $hit$how",
 | 
			
		||||
            "percent": 0.25,
 | 
			
		||||
            "swallows": [
 | 
			
		||||
               {
 | 
			
		||||
                "class": "^.*Microsoft.*Teams.*-.*Preview.*$"
 | 
			
		||||
                "class": "^Microsoft\\ Teams\\ \\-\\ Preview$"
 | 
			
		||||
               }
 | 
			
		||||
            ],
 | 
			
		||||
            "type": "con"
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            "border": "none",
 | 
			
		||||
            "current_border_width": 2,
 | 
			
		||||
            "floating": "auto_off",
 | 
			
		||||
            "geometry": {
 | 
			
		||||
               "height": 1060,
 | 
			
		||||
               "width": 1916,
 | 
			
		||||
               "x": 2,
 | 
			
		||||
               "y": 18
 | 
			
		||||
            },
 | 
			
		||||
            "marks": [],
 | 
			
		||||
            "name": "Microsoft Teams - $hit$how",
 | 
			
		||||
            "percent": 0.25,
 | 
			
		||||
            "swallows": [
 | 
			
		||||
               {
 | 
			
		||||
                "class": "^Microsoft\\ Teams\\ \\-\\ Preview$"
 | 
			
		||||
               }
 | 
			
		||||
            ],
 | 
			
		||||
            "type": "con"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue