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:
Alex Kelly 2022-06-27 15:29:39 -04:00
parent 96c2c5ced8
commit ef1609b15c

View file

@ -37,10 +37,31 @@
"y": 18 "y": 18
}, },
"marks": [], "marks": [],
"name": "Microsoft Teams - $hit$how",
"percent": 0.25, "percent": 0.25,
"swallows": [ "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" "type": "con"