Implement client-server test infra and window opening tests
Browse files at this commit771ea1e81557ffe7af9cbdbec161601575b64d81Parent: d38bfc4300 changed files +4918 -1
Showing the first 300 files; this commit changes more.
- Cargo.lock +55 -1
- Cargo.toml +3 -0
- src/lib.rs +3 -0
- src/tests/client.rs +536 -0
- src/tests/fixture.rs +124 -0
- src/tests/mod.rs +7 -0
- src/tests/server.rs +37 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB1.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB2.snap +13 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB2.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1.snap +15 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA1.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA2.snap +14 -0
- src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB1.snap +14 -0
Cargo.lockmodified+55 -1
| @@ -580,6 +580,18 @@ dependencies = [ | |||
| 580 | "wayland-client", | 580 | "wayland-client", |
| 581 | ] | 581 | ] |
| 582 | 582 | ||
| 583 | +[[package]] | ||
| 584 | +name = "calloop-wayland-source" | ||
| 585 | +version = "0.4.0" | ||
| 586 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 587 | +checksum = "876a7a1dbbe026a55ef47a500b123af5a9a0914520f061d467914cf21be95daf" | ||
| 588 | +dependencies = [ | ||
| 589 | + "calloop 0.14.1", | ||
| 590 | + "rustix 0.38.38", | ||
| 591 | + "wayland-backend", | ||
| 592 | + "wayland-client", | ||
| 593 | +] | ||
| 594 | + | ||
| 583 | [[package]] | 595 | [[package]] |
| 584 | name = "cc" | 596 | name = "cc" |
| 585 | version = "1.1.31" | 597 | version = "1.1.31" |
| @@ -821,6 +833,25 @@ dependencies = [ | |||
| 821 | "cfg-if", | 833 | "cfg-if", |
| 822 | ] | 834 | ] |
| 823 | 835 | ||
| 836 | +[[package]] | ||
| 837 | +name = "crossbeam-deque" | ||
| 838 | +version = "0.8.6" | ||
| 839 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 840 | +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" | ||
| 841 | +dependencies = [ | ||
| 842 | + "crossbeam-epoch", | ||
| 843 | + "crossbeam-utils", | ||
| 844 | +] | ||
| 845 | + | ||
| 846 | +[[package]] | ||
| 847 | +name = "crossbeam-epoch" | ||
| 848 | +version = "0.9.18" | ||
| 849 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 850 | +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" | ||
| 851 | +dependencies = [ | ||
| 852 | + "crossbeam-utils", | ||
| 853 | +] | ||
| 854 | + | ||
| 824 | [[package]] | 855 | [[package]] |
| 825 | name = "crossbeam-utils" | 856 | name = "crossbeam-utils" |
| 826 | version = "0.8.20" | 857 | version = "0.8.20" |
| @@ -2410,6 +2441,7 @@ dependencies = [ | |||
| 2410 | "bitflags 2.6.0", | 2441 | "bitflags 2.6.0", |
| 2411 | "bytemuck", | 2442 | "bytemuck", |
| 2412 | "calloop 0.14.1", | 2443 | "calloop 0.14.1", |
| 2444 | + "calloop-wayland-source 0.4.0", | ||
| 2413 | "clap", | 2445 | "clap", |
| 2414 | "directories", | 2446 | "directories", |
| 2415 | "drm-ffi", | 2447 | "drm-ffi", |
| @@ -2435,6 +2467,7 @@ dependencies = [ | |||
| 2435 | "profiling", | 2467 | "profiling", |
| 2436 | "proptest", | 2468 | "proptest", |
| 2437 | "proptest-derive", | 2469 | "proptest-derive", |
| 2470 | + "rayon", | ||
| 2438 | "sd-notify", | 2471 | "sd-notify", |
| 2439 | "serde", | 2472 | "serde", |
| 2440 | "serde_json", | 2473 | "serde_json", |
| @@ -2445,6 +2478,7 @@ dependencies = [ | |||
| 2445 | "tracy-client", | 2478 | "tracy-client", |
| 2446 | "url", | 2479 | "url", |
| 2447 | "wayland-backend", | 2480 | "wayland-backend", |
| 2481 | + "wayland-client", | ||
| 2448 | "wayland-scanner", | 2482 | "wayland-scanner", |
| 2449 | "xcursor", | 2483 | "xcursor", |
| 2450 | "xshell", | 2484 | "xshell", |
| @@ -3337,6 +3371,26 @@ version = "0.6.2" | |||
| 3337 | source = "registry+https://github.com/rust-lang/crates.io-index" | 3371 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 3338 | checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" | 3372 | checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" |
| 3339 | 3373 | ||
| 3374 | +[[package]] | ||
| 3375 | +name = "rayon" | ||
| 3376 | +version = "1.10.0" | ||
| 3377 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 3378 | +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" | ||
| 3379 | +dependencies = [ | ||
| 3380 | + "either", | ||
| 3381 | + "rayon-core", | ||
| 3382 | +] | ||
| 3383 | + | ||
| 3384 | +[[package]] | ||
| 3385 | +name = "rayon-core" | ||
| 3386 | +version = "1.12.1" | ||
| 3387 | +source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 3388 | +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" | ||
| 3389 | +dependencies = [ | ||
| 3390 | + "crossbeam-deque", | ||
| 3391 | + "crossbeam-utils", | ||
| 3392 | +] | ||
| 3393 | + | ||
| 3340 | [[package]] | 3394 | [[package]] |
| 3341 | name = "redox_syscall" | 3395 | name = "redox_syscall" |
| 3342 | version = "0.4.1" | 3396 | version = "0.4.1" |
| @@ -3725,7 +3779,7 @@ checksum = "3457dea1f0eb631b4034d61d4d8c32074caa6cd1ab2d59f2327bd8461e2c0016" | |||
| 3725 | dependencies = [ | 3779 | dependencies = [ |
| 3726 | "bitflags 2.6.0", | 3780 | "bitflags 2.6.0", |
| 3727 | "calloop 0.13.0", | 3781 | "calloop 0.13.0", |
| 3728 | - "calloop-wayland-source", | 3782 | + "calloop-wayland-source 0.3.0", |
| 3729 | "cursor-icon", | 3783 | "cursor-icon", |
| 3730 | "libc", | 3784 | "libc", |
| 3731 | "log", | 3785 | "log", |
Cargo.tomlmodified+3 -0
| @@ -107,9 +107,12 @@ features = [ | |||
| 107 | 107 | ||
| 108 | [dev-dependencies] | 108 | [dev-dependencies] |
| 109 | approx = "0.5.1" | 109 | approx = "0.5.1" |
| 110 | +calloop-wayland-source = "0.4.0" | ||
| 110 | insta.workspace = true | 111 | insta.workspace = true |
| 111 | proptest = "1.5.0" | 112 | proptest = "1.5.0" |
| 112 | proptest-derive = { version = "0.5.0", features = ["boxed_union"] } | 113 | proptest-derive = { version = "0.5.0", features = ["boxed_union"] } |
| 114 | +rayon = "1.10.0" | ||
| 115 | +wayland-client = "0.31.7" | ||
| 113 | xshell = "0.2.6" | 116 | xshell = "0.2.6" |
| 114 | 117 | ||
| 115 | [features] | 118 | [features] |
src/lib.rsmodified+3 -0
| @@ -28,3 +28,6 @@ pub mod pw_utils; | |||
| 28 | 28 | ||
| 29 | #[cfg(not(feature = "xdp-gnome-screencast"))] | 29 | #[cfg(not(feature = "xdp-gnome-screencast"))] |
| 30 | pub use dummy_pw_utils as pw_utils; | 30 | pub use dummy_pw_utils as pw_utils; |
| 31 | + | ||
| 32 | +#[cfg(test)] | ||
| 33 | +mod tests; | ||
src/tests/client.rsadded+536 -0
| @@ -0,0 +1,536 @@ | |||
| 1 | +use std::cmp::min; | ||
| 2 | +use std::collections::HashMap; | ||
| 3 | +use std::ffi::OsStr; | ||
| 4 | +use std::fmt::Write as _; | ||
| 5 | +use std::os::unix::net::UnixStream; | ||
| 6 | +use std::path::PathBuf; | ||
| 7 | +use std::sync::atomic::{AtomicBool, Ordering}; | ||
| 8 | +use std::sync::Arc; | ||
| 9 | +use std::time::Duration; | ||
| 10 | +use std::{env, fmt}; | ||
| 11 | + | ||
| 12 | +use calloop::EventLoop; | ||
| 13 | +use calloop_wayland_source::WaylandSource; | ||
| 14 | +use single_pixel_buffer::v1::client::wp_single_pixel_buffer_manager_v1::WpSinglePixelBufferManagerV1; | ||
| 15 | +use smithay::reexports::wayland_protocols::wp::single_pixel_buffer; | ||
| 16 | +use smithay::reexports::wayland_protocols::wp::viewporter::client::wp_viewport::WpViewport; | ||
| 17 | +use smithay::reexports::wayland_protocols::wp::viewporter::client::wp_viewporter::WpViewporter; | ||
| 18 | +use smithay::reexports::wayland_protocols::xdg::shell::client::xdg_surface::{self, XdgSurface}; | ||
| 19 | +use smithay::reexports::wayland_protocols::xdg::shell::client::xdg_toplevel::{self, XdgToplevel}; | ||
| 20 | +use smithay::reexports::wayland_protocols::xdg::shell::client::xdg_wm_base::{self, XdgWmBase}; | ||
| 21 | +use wayland_backend::client::Backend; | ||
| 22 | +use wayland_client::globals::Global; | ||
| 23 | +use wayland_client::protocol::wl_buffer::{self, WlBuffer}; | ||
| 24 | +use wayland_client::protocol::wl_callback::{self, WlCallback}; | ||
| 25 | +use wayland_client::protocol::wl_compositor::WlCompositor; | ||
| 26 | +use wayland_client::protocol::wl_display::WlDisplay; | ||
| 27 | +use wayland_client::protocol::wl_output::{self, WlOutput}; | ||
| 28 | +use wayland_client::protocol::wl_registry::{self, WlRegistry}; | ||
| 29 | +use wayland_client::protocol::wl_surface::{self, WlSurface}; | ||
| 30 | +use wayland_client::{Connection, Dispatch, Proxy as _, QueueHandle}; | ||
| 31 | + | ||
| 32 | +use crate::utils::id::IdCounter; | ||
| 33 | + | ||
| 34 | +pub struct Client { | ||
| 35 | + pub id: ClientId, | ||
| 36 | + pub event_loop: EventLoop<'static, State>, | ||
| 37 | + pub connection: Connection, | ||
| 38 | + pub qh: QueueHandle<State>, | ||
| 39 | + pub display: WlDisplay, | ||
| 40 | + pub state: State, | ||
| 41 | +} | ||
| 42 | + | ||
| 43 | +pub struct State { | ||
| 44 | + pub qh: QueueHandle<State>, | ||
| 45 | + | ||
| 46 | + pub globals: Vec<Global>, | ||
| 47 | + pub outputs: HashMap<WlOutput, String>, | ||
| 48 | + | ||
| 49 | + pub compositor: Option<WlCompositor>, | ||
| 50 | + pub xdg_wm_base: Option<XdgWmBase>, | ||
| 51 | + pub spbm: Option<WpSinglePixelBufferManagerV1>, | ||
| 52 | + pub viewporter: Option<WpViewporter>, | ||
| 53 | + | ||
| 54 | + pub windows: Vec<Window>, | ||
| 55 | +} | ||
| 56 | + | ||
| 57 | +pub struct Window { | ||
| 58 | + pub qh: QueueHandle<State>, | ||
| 59 | + pub spbm: WpSinglePixelBufferManagerV1, | ||
| 60 | + | ||
| 61 | + pub surface: WlSurface, | ||
| 62 | + pub xdg_surface: XdgSurface, | ||
| 63 | + pub xdg_toplevel: XdgToplevel, | ||
| 64 | + pub viewport: WpViewport, | ||
| 65 | + pub pending_configure: Configure, | ||
| 66 | + pub configures_received: Vec<(u32, Configure)>, | ||
| 67 | + pub close_requsted: bool, | ||
| 68 | + | ||
| 69 | + pub configures_looked_at: usize, | ||
| 70 | +} | ||
| 71 | + | ||
| 72 | +#[derive(Debug, Clone, Default)] | ||
| 73 | +pub struct Configure { | ||
| 74 | + pub size: (i32, i32), | ||
| 75 | + pub bounds: Option<(i32, i32)>, | ||
| 76 | + pub states: Vec<xdg_toplevel::State>, | ||
| 77 | +} | ||
| 78 | + | ||
| 79 | +#[derive(Default)] | ||
| 80 | +pub struct SyncData { | ||
| 81 | + pub done: AtomicBool, | ||
| 82 | +} | ||
| 83 | + | ||
| 84 | +static CLIENT_ID_COUNTER: IdCounter = IdCounter::new(); | ||
| 85 | + | ||
| 86 | +#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] | ||
| 87 | +pub struct ClientId(u64); | ||
| 88 | + | ||
| 89 | +impl ClientId { | ||
| 90 | + fn next() -> ClientId { | ||
| 91 | + ClientId(CLIENT_ID_COUNTER.next()) | ||
| 92 | + } | ||
| 93 | +} | ||
| 94 | + | ||
| 95 | +impl fmt::Display for Configure { | ||
| 96 | + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { | ||
| 97 | + write!(f, "size: {} × {}, ", self.size.0, self.size.1)?; | ||
| 98 | + if let Some(bounds) = self.bounds { | ||
| 99 | + write!(f, "bounds: {} × {}, ", bounds.0, bounds.1)?; | ||
| 100 | + } else { | ||
| 101 | + write!(f, "bounds: none, ")?; | ||
| 102 | + } | ||
| 103 | + write!(f, "states: {:?}", self.states)?; | ||
| 104 | + Ok(()) | ||
| 105 | + } | ||
| 106 | +} | ||
| 107 | + | ||
| 108 | +fn connect(socket_name: &OsStr) -> Connection { | ||
| 109 | + let mut socket_path = PathBuf::from(env::var_os("XDG_RUNTIME_DIR").unwrap()); | ||
| 110 | + socket_path.push(socket_name); | ||
| 111 | + | ||
| 112 | + let stream = UnixStream::connect(socket_path).unwrap(); | ||
| 113 | + let backend = Backend::connect(stream).unwrap(); | ||
| 114 | + Connection::from_backend(backend) | ||
| 115 | +} | ||
| 116 | + | ||
| 117 | +impl Client { | ||
| 118 | + pub fn new(socket_name: &OsStr) -> Self { | ||
| 119 | + let id = ClientId::next(); | ||
| 120 | + | ||
| 121 | + let event_loop = EventLoop::try_new().unwrap(); | ||
| 122 | + let connection = connect(socket_name); | ||
| 123 | + let queue = connection.new_event_queue(); | ||
| 124 | + let qh = queue.handle(); | ||
| 125 | + WaylandSource::new(connection.clone(), queue) | ||
| 126 | + .insert(event_loop.handle()) | ||
| 127 | + .unwrap(); | ||
| 128 | + | ||
| 129 | + let display = connection.display(); | ||
| 130 | + let _registry = display.get_registry(&qh, ()); | ||
| 131 | + connection.flush().unwrap(); | ||
| 132 | + | ||
| 133 | + let state = State { | ||
| 134 | + qh: qh.clone(), | ||
| 135 | + globals: Vec::new(), | ||
| 136 | + outputs: HashMap::new(), | ||
| 137 | + compositor: None, | ||
| 138 | + xdg_wm_base: None, | ||
| 139 | + spbm: None, | ||
| 140 | + viewporter: None, | ||
| 141 | + windows: Vec::new(), | ||
| 142 | + }; | ||
| 143 | + | ||
| 144 | + Self { | ||
| 145 | + id, | ||
| 146 | + event_loop, | ||
| 147 | + connection, | ||
| 148 | + qh, | ||
| 149 | + display, | ||
| 150 | + state, | ||
| 151 | + } | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + pub fn dispatch(&mut self) { | ||
| 155 | + self.event_loop | ||
| 156 | + .dispatch(Duration::ZERO, &mut self.state) | ||
| 157 | + .unwrap(); | ||
| 158 | + } | ||
| 159 | + | ||
| 160 | + pub fn send_sync(&self) -> Arc<SyncData> { | ||
| 161 | + let data = Arc::new(SyncData::default()); | ||
| 162 | + self.display.sync(&self.qh, data.clone()); | ||
| 163 | + self.connection.flush().unwrap(); | ||
| 164 | + data | ||
| 165 | + } | ||
| 166 | + | ||
| 167 | + pub fn create_window(&mut self) -> &mut Window { | ||
| 168 | + self.state.create_window() | ||
| 169 | + } | ||
| 170 | + | ||
| 171 | + pub fn window(&mut self, surface: &WlSurface) -> &mut Window { | ||
| 172 | + self.state.window(surface) | ||
| 173 | + } | ||
| 174 | + | ||
| 175 | + pub fn output(&mut self, name: &str) -> WlOutput { | ||
| 176 | + self.state | ||
| 177 | + .outputs | ||
| 178 | + .iter() | ||
| 179 | + .find(|(_, v)| *v == name) | ||
| 180 | + .unwrap() | ||
| 181 | + .0 | ||
| 182 | + .clone() | ||
| 183 | + } | ||
| 184 | +} | ||
| 185 | + | ||
| 186 | +impl State { | ||
| 187 | + pub fn create_window(&mut self) -> &mut Window { | ||
| 188 | + let compositor = self.compositor.as_ref().unwrap(); | ||
| 189 | + let xdg_wm_base = self.xdg_wm_base.as_ref().unwrap(); | ||
| 190 | + let viewporter = self.viewporter.as_ref().unwrap(); | ||
| 191 | + | ||
| 192 | + let surface = compositor.create_surface(&self.qh, ()); | ||
| 193 | + let xdg_surface = xdg_wm_base.get_xdg_surface(&surface, &self.qh, ()); | ||
| 194 | + let xdg_toplevel = xdg_surface.get_toplevel(&self.qh, ()); | ||
| 195 | + let viewport = viewporter.get_viewport(&surface, &self.qh, ()); | ||
| 196 | + | ||
| 197 | + let window = Window { | ||
| 198 | + qh: self.qh.clone(), | ||
| 199 | + spbm: self.spbm.clone().unwrap(), | ||
| 200 | + | ||
| 201 | + surface, | ||
| 202 | + xdg_surface, | ||
| 203 | + xdg_toplevel, | ||
| 204 | + viewport, | ||
| 205 | + pending_configure: Configure::default(), | ||
| 206 | + configures_received: Vec::new(), | ||
| 207 | + close_requsted: false, | ||
| 208 | + | ||
| 209 | + configures_looked_at: 0, | ||
| 210 | + }; | ||
| 211 | + | ||
| 212 | + self.windows.push(window); | ||
| 213 | + self.windows.last_mut().unwrap() | ||
| 214 | + } | ||
| 215 | + | ||
| 216 | + pub fn window(&mut self, surface: &WlSurface) -> &mut Window { | ||
| 217 | + self.windows | ||
| 218 | + .iter_mut() | ||
| 219 | + .find(|w| w.surface == *surface) | ||
| 220 | + .unwrap() | ||
| 221 | + } | ||
| 222 | +} | ||
| 223 | + | ||
| 224 | +impl Window { | ||
| 225 | + pub fn commit(&self) { | ||
| 226 | + self.surface.commit(); | ||
| 227 | + } | ||
| 228 | + | ||
| 229 | + pub fn ack_last(&self) { | ||
| 230 | + let serial = self.configures_received.last().unwrap().0; | ||
| 231 | + self.xdg_surface.ack_configure(serial); | ||
| 232 | + } | ||
| 233 | + | ||
| 234 | + pub fn ack_last_and_commit(&self) { | ||
| 235 | + self.ack_last(); | ||
| 236 | + self.commit(); | ||
| 237 | + } | ||
| 238 | + | ||
| 239 | + pub fn attach_new_buffer(&self) { | ||
| 240 | + let buffer = self.spbm.create_u32_rgba_buffer(0, 0, 0, 0, &self.qh, ()); | ||
| 241 | + self.surface.attach(Some(&buffer), 0, 0); | ||
| 242 | + } | ||
| 243 | + | ||
| 244 | + pub fn set_size(&self, w: u16, h: u16) { | ||
| 245 | + self.viewport.set_destination(i32::from(w), i32::from(h)); | ||
| 246 | + } | ||
| 247 | + | ||
| 248 | + pub fn set_fullscreen(&self, output: Option<&WlOutput>) { | ||
| 249 | + self.xdg_toplevel.set_fullscreen(output); | ||
| 250 | + } | ||
| 251 | + | ||
| 252 | + pub fn unset_fullscreen(&self) { | ||
| 253 | + self.xdg_toplevel.unset_fullscreen(); | ||
| 254 | + } | ||
| 255 | + | ||
| 256 | + pub fn set_parent(&self, parent: Option<&XdgToplevel>) { | ||
| 257 | + self.xdg_toplevel.set_parent(parent); | ||
| 258 | + } | ||
| 259 | + | ||
| 260 | + pub fn set_title(&self, title: &str) { | ||
| 261 | + self.xdg_toplevel.set_title(title.to_owned()); | ||
| 262 | + } | ||
| 263 | + | ||
| 264 | + pub fn recent_configures(&mut self) -> impl Iterator<Item = &Configure> { | ||
| 265 | + let start = self.configures_looked_at; | ||
| 266 | + self.configures_looked_at = self.configures_received.len(); | ||
| 267 | + self.configures_received[start..].iter().map(|(_, c)| c) | ||
| 268 | + } | ||
| 269 | + | ||
| 270 | + pub fn format_recent_configures(&mut self) -> String { | ||
| 271 | + let mut buf = String::new(); | ||
| 272 | + for configure in self.recent_configures() { | ||
| 273 | + if !buf.is_empty() { | ||
| 274 | + buf.push('\n'); | ||
| 275 | + } | ||
| 276 | + write!(buf, "{configure}").unwrap(); | ||
| 277 | + } | ||
| 278 | + buf | ||
| 279 | + } | ||
| 280 | +} | ||
| 281 | + | ||
| 282 | +impl Dispatch<WlCallback, Arc<SyncData>> for State { | ||
| 283 | + fn event( | ||
| 284 | + _state: &mut Self, | ||
| 285 | + _proxy: &WlCallback, | ||
| 286 | + event: <WlCallback as wayland_client::Proxy>::Event, | ||
| 287 | + data: &Arc<SyncData>, | ||
| 288 | + _conn: &Connection, | ||
| 289 | + _qhandle: &QueueHandle<Self>, | ||
| 290 | + ) { | ||
| 291 | + match event { | ||
| 292 | + wl_callback::Event::Done { .. } => data.done.store(true, Ordering::Relaxed), | ||
| 293 | + _ => unreachable!(), | ||
| 294 | + } | ||
| 295 | + } | ||
| 296 | +} | ||
| 297 | + | ||
| 298 | +impl Dispatch<WlRegistry, ()> for State { | ||
| 299 | + fn event( | ||
| 300 | + state: &mut Self, | ||
| 301 | + registry: &WlRegistry, | ||
| 302 | + event: <WlRegistry as wayland_client::Proxy>::Event, | ||
| 303 | + _data: &(), | ||
| 304 | + _conn: &Connection, | ||
| 305 | + qh: &QueueHandle<Self>, | ||
| 306 | + ) { | ||
| 307 | + match event { | ||
| 308 | + wl_registry::Event::Global { | ||
| 309 | + name, | ||
| 310 | + interface, | ||
| 311 | + version, | ||
| 312 | + } => { | ||
| 313 | + if interface == WlCompositor::interface().name { | ||
| 314 | + let version = min(version, WlCompositor::interface().version); | ||
| 315 | + state.compositor = Some(registry.bind(name, version, qh, ())); | ||
| 316 | + } else if interface == XdgWmBase::interface().name { | ||
| 317 | + let version = min(version, XdgWmBase::interface().version); | ||
| 318 | + state.xdg_wm_base = Some(registry.bind(name, version, qh, ())); | ||
| 319 | + } else if interface == WpSinglePixelBufferManagerV1::interface().name { | ||
| 320 | + let version = min(version, WpSinglePixelBufferManagerV1::interface().version); | ||
| 321 | + state.spbm = Some(registry.bind(name, version, qh, ())); | ||
| 322 | + } else if interface == WpViewporter::interface().name { | ||
| 323 | + let version = min(version, WpViewporter::interface().version); | ||
| 324 | + state.viewporter = Some(registry.bind(name, version, qh, ())); | ||
| 325 | + } else if interface == WlOutput::interface().name { | ||
| 326 | + let version = min(version, WlOutput::interface().version); | ||
| 327 | + let output = registry.bind(name, version, qh, ()); | ||
| 328 | + state.outputs.insert(output, String::new()); | ||
| 329 | + } | ||
| 330 | + | ||
| 331 | + let global = Global { | ||
| 332 | + name, | ||
| 333 | + interface, | ||
| 334 | + version, | ||
| 335 | + }; | ||
| 336 | + state.globals.push(global); | ||
| 337 | + } | ||
| 338 | + wl_registry::Event::GlobalRemove { .. } => (), | ||
| 339 | + _ => unreachable!(), | ||
| 340 | + } | ||
| 341 | + } | ||
| 342 | +} | ||
| 343 | + | ||
| 344 | +impl Dispatch<WlOutput, ()> for State { | ||
| 345 | + fn event( | ||
| 346 | + state: &mut Self, | ||
| 347 | + output: &WlOutput, | ||
| 348 | + event: <WlOutput as wayland_client::Proxy>::Event, | ||
| 349 | + _data: &(), | ||
| 350 | + _conn: &Connection, | ||
| 351 | + _qhandle: &QueueHandle<Self>, | ||
| 352 | + ) { | ||
| 353 | + match event { | ||
| 354 | + wl_output::Event::Geometry { .. } => (), | ||
| 355 | + wl_output::Event::Mode { .. } => (), | ||
| 356 | + wl_output::Event::Done => (), | ||
| 357 | + wl_output::Event::Scale { .. } => (), | ||
| 358 | + wl_output::Event::Name { name } => { | ||
| 359 | + *state.outputs.get_mut(output).unwrap() = name; | ||
| 360 | + } | ||
| 361 | + wl_output::Event::Description { .. } => (), | ||
| 362 | + _ => unreachable!(), | ||
| 363 | + } | ||
| 364 | + } | ||
| 365 | +} | ||
| 366 | + | ||
| 367 | +impl Dispatch<WlCompositor, ()> for State { | ||
| 368 | + fn event( | ||
| 369 | + _state: &mut Self, | ||
| 370 | + _proxy: &WlCompositor, | ||
| 371 | + _event: <WlCompositor as wayland_client::Proxy>::Event, | ||
| 372 | + _data: &(), | ||
| 373 | + _conn: &Connection, | ||
| 374 | + _qhandle: &QueueHandle<Self>, | ||
| 375 | + ) { | ||
| 376 | + unreachable!() | ||
| 377 | + } | ||
| 378 | +} | ||
| 379 | + | ||
| 380 | +impl Dispatch<XdgWmBase, ()> for State { | ||
| 381 | + fn event( | ||
| 382 | + _state: &mut Self, | ||
| 383 | + xdg_wm_base: &XdgWmBase, | ||
| 384 | + event: <XdgWmBase as wayland_client::Proxy>::Event, | ||
| 385 | + _data: &(), | ||
| 386 | + _conn: &Connection, | ||
| 387 | + _qhandle: &QueueHandle<Self>, | ||
| 388 | + ) { | ||
| 389 | + match event { | ||
| 390 | + xdg_wm_base::Event::Ping { serial } => { | ||
| 391 | + xdg_wm_base.pong(serial); | ||
| 392 | + } | ||
| 393 | + _ => unreachable!(), | ||
| 394 | + } | ||
| 395 | + } | ||
| 396 | +} | ||
| 397 | + | ||
| 398 | +impl Dispatch<WlSurface, ()> for State { | ||
| 399 | + fn event( | ||
| 400 | + _state: &mut Self, | ||
| 401 | + _proxy: &WlSurface, | ||
| 402 | + event: <WlSurface as wayland_client::Proxy>::Event, | ||
| 403 | + _data: &(), | ||
| 404 | + _conn: &Connection, | ||
| 405 | + _qhandle: &QueueHandle<Self>, | ||
| 406 | + ) { | ||
| 407 | + match event { | ||
| 408 | + wl_surface::Event::Enter { .. } => (), | ||
| 409 | + wl_surface::Event::Leave { .. } => (), | ||
| 410 | + wl_surface::Event::PreferredBufferScale { .. } => (), | ||
| 411 | + wl_surface::Event::PreferredBufferTransform { .. } => (), | ||
| 412 | + _ => unreachable!(), | ||
| 413 | + } | ||
| 414 | + } | ||
| 415 | +} | ||
| 416 | + | ||
| 417 | +impl Dispatch<XdgSurface, ()> for State { | ||
| 418 | + fn event( | ||
| 419 | + state: &mut Self, | ||
| 420 | + xdg_surface: &XdgSurface, | ||
| 421 | + event: <XdgSurface as wayland_client::Proxy>::Event, | ||
| 422 | + _data: &(), | ||
| 423 | + _conn: &Connection, | ||
| 424 | + _qhandle: &QueueHandle<Self>, | ||
| 425 | + ) { | ||
| 426 | + match event { | ||
| 427 | + xdg_surface::Event::Configure { serial } => { | ||
| 428 | + let window = state | ||
| 429 | + .windows | ||
| 430 | + .iter_mut() | ||
| 431 | + .find(|w| w.xdg_surface == *xdg_surface) | ||
| 432 | + .unwrap(); | ||
| 433 | + let configure = window.pending_configure.clone(); | ||
| 434 | + window.configures_received.push((serial, configure)); | ||
| 435 | + } | ||
| 436 | + _ => unreachable!(), | ||
| 437 | + } | ||
| 438 | + } | ||
| 439 | +} | ||
| 440 | + | ||
| 441 | +impl Dispatch<XdgToplevel, ()> for State { | ||
| 442 | + fn event( | ||
| 443 | + state: &mut Self, | ||
| 444 | + xdg_toplevel: &XdgToplevel, | ||
| 445 | + event: <XdgToplevel as wayland_client::Proxy>::Event, | ||
| 446 | + _data: &(), | ||
| 447 | + _conn: &Connection, | ||
| 448 | + _qhandle: &QueueHandle<Self>, | ||
| 449 | + ) { | ||
| 450 | + let window = state | ||
| 451 | + .windows | ||
| 452 | + .iter_mut() | ||
| 453 | + .find(|w| w.xdg_toplevel == *xdg_toplevel) | ||
| 454 | + .unwrap(); | ||
| 455 | + | ||
| 456 | + match event { | ||
| 457 | + xdg_toplevel::Event::Configure { | ||
| 458 | + width, | ||
| 459 | + height, | ||
| 460 | + states, | ||
| 461 | + } => { | ||
| 462 | + let configure = &mut window.pending_configure; | ||
| 463 | + configure.size = (width, height); | ||
| 464 | + configure.states = states | ||
| 465 | + .chunks_exact(4) | ||
| 466 | + .flat_map(TryInto::<[u8; 4]>::try_into) | ||
| 467 | + .map(u32::from_ne_bytes) | ||
| 468 | + .flat_map(xdg_toplevel::State::try_from) | ||
| 469 | + .collect(); | ||
| 470 | + } | ||
| 471 | + xdg_toplevel::Event::Close => { | ||
| 472 | + window.close_requsted = true; | ||
| 473 | + } | ||
| 474 | + xdg_toplevel::Event::ConfigureBounds { width, height } => { | ||
| 475 | + window.pending_configure.bounds = Some((width, height)); | ||
| 476 | + } | ||
| 477 | + xdg_toplevel::Event::WmCapabilities { .. } => (), | ||
| 478 | + _ => unreachable!(), | ||
| 479 | + } | ||
| 480 | + } | ||
| 481 | +} | ||
| 482 | + | ||
| 483 | +impl Dispatch<WlBuffer, ()> for State { | ||
| 484 | + fn event( | ||
| 485 | + _state: &mut Self, | ||
| 486 | + _proxy: &WlBuffer, | ||
| 487 | + event: <WlBuffer as wayland_client::Proxy>::Event, | ||
| 488 | + _data: &(), | ||
| 489 | + _conn: &Connection, | ||
| 490 | + _qhandle: &QueueHandle<Self>, | ||
| 491 | + ) { | ||
| 492 | + match event { | ||
| 493 | + wl_buffer::Event::Release => (), | ||
| 494 | + _ => unreachable!(), | ||
| 495 | + } | ||
| 496 | + } | ||
| 497 | +} | ||
| 498 | + | ||
| 499 | +impl Dispatch<WpSinglePixelBufferManagerV1, ()> for State { | ||
| 500 | + fn event( | ||
| 501 | + _state: &mut Self, | ||
| 502 | + _proxy: &WpSinglePixelBufferManagerV1, | ||
| 503 | + _event: <WpSinglePixelBufferManagerV1 as wayland_client::Proxy>::Event, | ||
| 504 | + _data: &(), | ||
| 505 | + _conn: &Connection, | ||
| 506 | + _qhandle: &QueueHandle<Self>, | ||
| 507 | + ) { | ||
| 508 | + unreachable!() | ||
| 509 | + } | ||
| 510 | +} | ||
| 511 | + | ||
| 512 | +impl Dispatch<WpViewporter, ()> for State { | ||
| 513 | + fn event( | ||
| 514 | + _state: &mut Self, | ||
| 515 | + _proxy: &WpViewporter, | ||
| 516 | + _event: <WpViewporter as wayland_client::Proxy>::Event, | ||
| 517 | + _data: &(), | ||
| 518 | + _conn: &Connection, | ||
| 519 | + _qhandle: &QueueHandle<Self>, | ||
| 520 | + ) { | ||
| 521 | + unreachable!() | ||
| 522 | + } | ||
| 523 | +} | ||
| 524 | + | ||
| 525 | +impl Dispatch<WpViewport, ()> for State { | ||
| 526 | + fn event( | ||
| 527 | + _state: &mut Self, | ||
| 528 | + _proxy: &WpViewport, | ||
| 529 | + _event: <WpViewport as wayland_client::Proxy>::Event, | ||
| 530 | + _data: &(), | ||
| 531 | + _conn: &Connection, | ||
| 532 | + _qhandle: &QueueHandle<Self>, | ||
| 533 | + ) { | ||
| 534 | + unreachable!() | ||
| 535 | + } | ||
| 536 | +} | ||
src/tests/fixture.rsadded+124 -0
| @@ -0,0 +1,124 @@ | |||
| 1 | +use std::os::fd::AsFd as _; | ||
| 2 | +use std::sync::atomic::Ordering; | ||
| 3 | +use std::time::Duration; | ||
| 4 | + | ||
| 5 | +use calloop::generic::Generic; | ||
| 6 | +use calloop::{EventLoop, Interest, LoopHandle, Mode, PostAction}; | ||
| 7 | +use niri_config::Config; | ||
| 8 | + | ||
| 9 | +use super::client::{Client, ClientId}; | ||
| 10 | +use super::server::Server; | ||
| 11 | +use crate::niri::Niri; | ||
| 12 | + | ||
| 13 | +pub struct Fixture { | ||
| 14 | + pub event_loop: EventLoop<'static, State>, | ||
| 15 | + pub handle: LoopHandle<'static, State>, | ||
| 16 | + pub state: State, | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +pub struct State { | ||
| 20 | + pub server: Server, | ||
| 21 | + pub clients: Vec<Client>, | ||
| 22 | +} | ||
| 23 | + | ||
| 24 | +impl Fixture { | ||
| 25 | + pub fn new() -> Self { | ||
| 26 | + Self::with_config(Config::default()) | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + pub fn with_config(config: Config) -> Self { | ||
| 30 | + let event_loop = EventLoop::try_new().unwrap(); | ||
| 31 | + let handle = event_loop.handle(); | ||
| 32 | + | ||
| 33 | + let server = Server::new(config); | ||
| 34 | + let fd = server.event_loop.as_fd().try_clone_to_owned().unwrap(); | ||
| 35 | + let source = Generic::new(fd, Interest::READ, Mode::Level); | ||
| 36 | + handle | ||
| 37 | + .insert_source(source, |_, _, state: &mut State| { | ||
| 38 | + state.server.dispatch(); | ||
| 39 | + Ok(PostAction::Continue) | ||
| 40 | + }) | ||
| 41 | + .unwrap(); | ||
| 42 | + | ||
| 43 | + let state = State { | ||
| 44 | + server, | ||
| 45 | + clients: Vec::new(), | ||
| 46 | + }; | ||
| 47 | + | ||
| 48 | + Self { | ||
| 49 | + event_loop, | ||
| 50 | + handle, | ||
| 51 | + state, | ||
| 52 | + } | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + pub fn dispatch(&mut self) { | ||
| 56 | + self.event_loop | ||
| 57 | + .dispatch(Duration::ZERO, &mut self.state) | ||
| 58 | + .unwrap(); | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + pub fn niri_state(&mut self) -> &mut crate::niri::State { | ||
| 62 | + &mut self.state.server.state | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + pub fn niri(&mut self) -> &mut Niri { | ||
| 66 | + &mut self.niri_state().niri | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + pub fn add_output(&mut self, n: u8, size: (u16, u16)) { | ||
| 70 | + let state = self.niri_state(); | ||
| 71 | + let niri = &mut state.niri; | ||
| 72 | + state.backend.headless().add_output(niri, n, size); | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + pub fn add_client(&mut self) -> ClientId { | ||
| 76 | + let client = Client::new(&self.state.server.state.niri.socket_name); | ||
| 77 | + let id = client.id; | ||
| 78 | + | ||
| 79 | + let fd = client.event_loop.as_fd().try_clone_to_owned().unwrap(); | ||
| 80 | + let source = Generic::new(fd, Interest::READ, Mode::Level); | ||
| 81 | + self.handle | ||
| 82 | + .insert_source(source, move |_, _, state: &mut State| { | ||
| 83 | + state.client(id).dispatch(); | ||
| 84 | + Ok(PostAction::Continue) | ||
| 85 | + }) | ||
| 86 | + .unwrap(); | ||
| 87 | + | ||
| 88 | + self.state.clients.push(client); | ||
| 89 | + self.roundtrip(id); | ||
| 90 | + id | ||
| 91 | + } | ||
| 92 | + | ||
| 93 | + pub fn client(&mut self, id: ClientId) -> &mut Client { | ||
| 94 | + self.state.client(id) | ||
| 95 | + } | ||
| 96 | + | ||
| 97 | + pub fn roundtrip(&mut self, id: ClientId) { | ||
| 98 | + let client = self.state.client(id); | ||
| 99 | + let data = client.send_sync(); | ||
| 100 | + while !data.done.load(Ordering::Relaxed) { | ||
| 101 | + self.dispatch(); | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + /// Rountrip twice in a row. | ||
| 106 | + /// | ||
| 107 | + /// For some reason, when running tests on many threads at once, a single roundtrip is | ||
| 108 | + /// sometimes not sufficient to get the configure events to the client. | ||
| 109 | + /// | ||
| 110 | + /// I suspect that this is because these configure events are sent from the niri loop callback, | ||
| 111 | + /// so they arrive after the sync done event and don't get processed in that client dispatch | ||
| 112 | + /// cycle. I'm not sure why this would be dependent on multithreading. But if this is indeed | ||
| 113 | + /// the issue, then a double roundtrip fixes it. | ||
| 114 | + pub fn double_roundtrip(&mut self, id: ClientId) { | ||
| 115 | + self.roundtrip(id); | ||
| 116 | + self.roundtrip(id); | ||
| 117 | + } | ||
| 118 | +} | ||
| 119 | + | ||
| 120 | +impl State { | ||
| 121 | + pub fn client(&mut self, id: ClientId) -> &mut Client { | ||
| 122 | + self.clients.iter_mut().find(|c| c.id == id).unwrap() | ||
| 123 | + } | ||
| 124 | +} | ||
src/tests/mod.rsadded+7 -0
| @@ -0,0 +1,7 @@ | |||
| 1 | +use fixture::Fixture; | ||
| 2 | + | ||
| 3 | +mod client; | ||
| 4 | +mod fixture; | ||
| 5 | +mod server; | ||
| 6 | + | ||
| 7 | +mod window_opening; | ||
src/tests/server.rsadded+37 -0
| @@ -0,0 +1,37 @@ | |||
| 1 | +use std::time::Duration; | ||
| 2 | + | ||
| 3 | +use calloop::EventLoop; | ||
| 4 | +use niri_config::Config; | ||
| 5 | +use smithay::reexports::wayland_server::Display; | ||
| 6 | + | ||
| 7 | +use crate::niri::State; | ||
| 8 | + | ||
| 9 | +pub struct Server { | ||
| 10 | + pub event_loop: EventLoop<'static, State>, | ||
| 11 | + pub state: State, | ||
| 12 | +} | ||
| 13 | + | ||
| 14 | +impl Server { | ||
| 15 | + pub fn new(config: Config) -> Self { | ||
| 16 | + let event_loop = EventLoop::try_new().unwrap(); | ||
| 17 | + let handle = event_loop.handle(); | ||
| 18 | + let display = Display::new().unwrap(); | ||
| 19 | + let state = State::new( | ||
| 20 | + config, | ||
| 21 | + handle.clone(), | ||
| 22 | + event_loop.get_signal(), | ||
| 23 | + display, | ||
| 24 | + true, | ||
| 25 | + ) | ||
| 26 | + .unwrap(); | ||
| 27 | + | ||
| 28 | + Self { event_loop, state } | ||
| 29 | + } | ||
| 30 | + | ||
| 31 | + pub fn dispatch(&mut self) { | ||
| 32 | + self.event_loop | ||
| 33 | + .dispatch(Duration::ZERO, &mut self.state) | ||
| 34 | + .unwrap(); | ||
| 35 | + self.state.refresh_and_flush_clients(); | ||
| 36 | + } | ||
| 37 | +} | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAN.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAN.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBN.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsBU.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAN.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAN.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBN.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsBU.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAA.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 15 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsAN.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBN.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-wfsBU.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 616 × 688, bounds: 1248 × 688, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 616 × 688, bounds: 1248 × 688, states: [Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAA.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsAN.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBN.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BN\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF-wfsBU.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: BU\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsF.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "config:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen false\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spA2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB1.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-spB2.snapadded+13 -0
| @@ -0,0 +1,13 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "set parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spA2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-1 | ||
| 8 | +final workspace: 0 (ws-1) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1-spB2.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA1.snapadded+15 -0
| @@ -0,0 +1,15 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] | ||
| 15 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA-spB2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nset parent: B2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAA.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AA\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 936 × 1048, bounds: 1888 × 1048, states: [] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spA2.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: A2\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-2\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out2-fsT-wfsAN-spB1.snapadded+14 -0
| @@ -0,0 +1,14 @@ | |||
| 1 | +--- | ||
| 2 | +source: src/tests/window_opening.rs | ||
| 3 | +description: "want fullscreen: AN\nset parent: B1\nconfig:\nworkspace \"ws-1\" {\n open-on-output \"headless-1\"\n}\n\nworkspace \"ws-2\" {\n open-on-output \"headless-2\"\n}\n\nwindow-rule {\n exclude title=\"parent\"\n\n open-on-output \"headless-2\"\n open-fullscreen true\n}\n\nwindow-rule {\n match title=\"parent\"\n open-on-output \"headless-1\"\n}" | ||
| 4 | +expression: snapshot | ||
| 5 | +snapshot_kind: text | ||
| 6 | +--- | ||
| 7 | +final monitor: headless-2 | ||
| 8 | +final workspace: 0 (ws-2) | ||
| 9 | + | ||
| 10 | +initial configure: | ||
| 11 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||
| 12 | + | ||
| 13 | +post-map configures: | ||
| 14 | +size: 1920 × 1080, bounds: 1888 × 1048, states: [Fullscreen] | ||