From e1fad994da9565b43c7fb139cb2fb7bf404cc320 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 2 Sep 2025 08:07:22 +0300 Subject: Implement maximize-to-edges (true Wayland maximize) --- src/tests/client.rs | 8 + src/tests/floating.rs | 279 +++++++++++++++++++++ src/tests/fullscreen.rs | 42 +++- ..._window_opening__check_fullscreen_maximize.snap | 10 + ...heck_fullscreen_maximize@fsF-tmF-wfsAN-wmA.snap | 18 ++ ...eck_fullscreen_maximize@fsF-tmF-wfsAN-wmAU.snap | 15 ++ ...heck_fullscreen_maximize@fsF-tmF-wfsAN-wmB.snap | 14 ++ ...eck_fullscreen_maximize@fsF-tmF-wfsAN-wmBU.snap | 14 ++ ...g__check_fullscreen_maximize@fsF-tmF-wfsAN.snap | 14 ++ ...heck_fullscreen_maximize@fsF-tmF-wfsAU-wmA.snap | 15 ++ ...eck_fullscreen_maximize@fsF-tmF-wfsAU-wmAU.snap | 12 + ...heck_fullscreen_maximize@fsF-tmF-wfsAU-wmB.snap | 11 + ...eck_fullscreen_maximize@fsF-tmF-wfsAU-wmBU.snap | 11 + ...g__check_fullscreen_maximize@fsF-tmF-wfsAU.snap | 11 + ...heck_fullscreen_maximize@fsF-tmF-wfsBN-wmA.snap | 14 ++ ...eck_fullscreen_maximize@fsF-tmF-wfsBN-wmAU.snap | 11 + ...heck_fullscreen_maximize@fsF-tmF-wfsBN-wmB.snap | 10 + ...eck_fullscreen_maximize@fsF-tmF-wfsBN-wmBU.snap | 10 + ...g__check_fullscreen_maximize@fsF-tmF-wfsBN.snap | 10 + ...heck_fullscreen_maximize@fsF-tmF-wfsBU-wmA.snap | 14 ++ ...eck_fullscreen_maximize@fsF-tmF-wfsBU-wmAU.snap | 11 + ...heck_fullscreen_maximize@fsF-tmF-wfsBU-wmB.snap | 10 + ...eck_fullscreen_maximize@fsF-tmF-wfsBU-wmBU.snap | 10 + ...g__check_fullscreen_maximize@fsF-tmF-wfsBU.snap | 10 + ...ing__check_fullscreen_maximize@fsF-tmF-wmA.snap | 14 ++ ...ng__check_fullscreen_maximize@fsF-tmF-wmAU.snap | 11 + ...ing__check_fullscreen_maximize@fsF-tmF-wmB.snap | 10 + ...ng__check_fullscreen_maximize@fsF-tmF-wmBU.snap | 10 + ...opening__check_fullscreen_maximize@fsF-tmF.snap | 10 + ...heck_fullscreen_maximize@fsF-tmT-wfsAN-wmA.snap | 18 ++ ...eck_fullscreen_maximize@fsF-tmT-wfsAN-wmAU.snap | 15 ++ ...heck_fullscreen_maximize@fsF-tmT-wfsAN-wmB.snap | 17 ++ ...eck_fullscreen_maximize@fsF-tmT-wfsAN-wmBU.snap | 17 ++ ...g__check_fullscreen_maximize@fsF-tmT-wfsAN.snap | 17 ++ ...heck_fullscreen_maximize@fsF-tmT-wfsAU-wmA.snap | 15 ++ ...eck_fullscreen_maximize@fsF-tmT-wfsAU-wmAU.snap | 12 + ...heck_fullscreen_maximize@fsF-tmT-wfsAU-wmB.snap | 14 ++ ...eck_fullscreen_maximize@fsF-tmT-wfsAU-wmBU.snap | 14 ++ ...g__check_fullscreen_maximize@fsF-tmT-wfsAU.snap | 14 ++ ...heck_fullscreen_maximize@fsF-tmT-wfsBN-wmA.snap | 14 ++ ...eck_fullscreen_maximize@fsF-tmT-wfsBN-wmAU.snap | 11 + ...heck_fullscreen_maximize@fsF-tmT-wfsBN-wmB.snap | 13 + ...eck_fullscreen_maximize@fsF-tmT-wfsBN-wmBU.snap | 13 + ...g__check_fullscreen_maximize@fsF-tmT-wfsBN.snap | 13 + ...heck_fullscreen_maximize@fsF-tmT-wfsBU-wmA.snap | 14 ++ ...eck_fullscreen_maximize@fsF-tmT-wfsBU-wmAU.snap | 11 + ...heck_fullscreen_maximize@fsF-tmT-wfsBU-wmB.snap | 13 + ...eck_fullscreen_maximize@fsF-tmT-wfsBU-wmBU.snap | 13 + ...g__check_fullscreen_maximize@fsF-tmT-wfsBU.snap | 13 + ...ing__check_fullscreen_maximize@fsF-tmT-wmA.snap | 14 ++ ...ng__check_fullscreen_maximize@fsF-tmT-wmAU.snap | 11 + ...ing__check_fullscreen_maximize@fsF-tmT-wmB.snap | 13 + ...ng__check_fullscreen_maximize@fsF-tmT-wmBU.snap | 13 + ...opening__check_fullscreen_maximize@fsF-tmT.snap | 13 + ...g__check_fullscreen_maximize@fsF-wfsAN-wmA.snap | 18 ++ ...__check_fullscreen_maximize@fsF-wfsAN-wmAU.snap | 15 ++ ...g__check_fullscreen_maximize@fsF-wfsAN-wmB.snap | 17 ++ ...__check_fullscreen_maximize@fsF-wfsAN-wmBU.snap | 14 ++ ...ening__check_fullscreen_maximize@fsF-wfsAN.snap | 14 ++ ...g__check_fullscreen_maximize@fsF-wfsAU-wmA.snap | 15 ++ ...__check_fullscreen_maximize@fsF-wfsAU-wmAU.snap | 12 + ...g__check_fullscreen_maximize@fsF-wfsAU-wmB.snap | 14 ++ ...__check_fullscreen_maximize@fsF-wfsAU-wmBU.snap | 11 + ...ening__check_fullscreen_maximize@fsF-wfsAU.snap | 11 + ...g__check_fullscreen_maximize@fsF-wfsBN-wmA.snap | 14 ++ ...__check_fullscreen_maximize@fsF-wfsBN-wmAU.snap | 11 + ...g__check_fullscreen_maximize@fsF-wfsBN-wmB.snap | 13 + ...__check_fullscreen_maximize@fsF-wfsBN-wmBU.snap | 10 + ...ening__check_fullscreen_maximize@fsF-wfsBN.snap | 10 + ...g__check_fullscreen_maximize@fsF-wfsBU-wmA.snap | 14 ++ ...__check_fullscreen_maximize@fsF-wfsBU-wmAU.snap | 11 + ...g__check_fullscreen_maximize@fsF-wfsBU-wmB.snap | 13 + ...__check_fullscreen_maximize@fsF-wfsBU-wmBU.snap | 10 + ...ening__check_fullscreen_maximize@fsF-wfsBU.snap | 10 + ...opening__check_fullscreen_maximize@fsF-wmA.snap | 14 ++ ...pening__check_fullscreen_maximize@fsF-wmAU.snap | 11 + ...opening__check_fullscreen_maximize@fsF-wmB.snap | 13 + ...pening__check_fullscreen_maximize@fsF-wmBU.snap | 10 + ...dow_opening__check_fullscreen_maximize@fsF.snap | 10 + ...heck_fullscreen_maximize@fsT-tmF-wfsAN-wmA.snap | 18 ++ ...eck_fullscreen_maximize@fsT-tmF-wfsAN-wmAU.snap | 15 ++ ...heck_fullscreen_maximize@fsT-tmF-wfsAN-wmB.snap | 14 ++ ...eck_fullscreen_maximize@fsT-tmF-wfsAN-wmBU.snap | 14 ++ ...g__check_fullscreen_maximize@fsT-tmF-wfsAN.snap | 14 ++ ...heck_fullscreen_maximize@fsT-tmF-wfsAU-wmA.snap | 15 ++ ...eck_fullscreen_maximize@fsT-tmF-wfsAU-wmAU.snap | 12 + ...heck_fullscreen_maximize@fsT-tmF-wfsAU-wmB.snap | 11 + ...eck_fullscreen_maximize@fsT-tmF-wfsAU-wmBU.snap | 11 + ...g__check_fullscreen_maximize@fsT-tmF-wfsAU.snap | 11 + ...heck_fullscreen_maximize@fsT-tmF-wfsBN-wmA.snap | 17 ++ ...eck_fullscreen_maximize@fsT-tmF-wfsBN-wmAU.snap | 14 ++ ...heck_fullscreen_maximize@fsT-tmF-wfsBN-wmB.snap | 13 + ...eck_fullscreen_maximize@fsT-tmF-wfsBN-wmBU.snap | 13 + ...g__check_fullscreen_maximize@fsT-tmF-wfsBN.snap | 13 + ...heck_fullscreen_maximize@fsT-tmF-wfsBU-wmA.snap | 17 ++ ...eck_fullscreen_maximize@fsT-tmF-wfsBU-wmAU.snap | 14 ++ ...heck_fullscreen_maximize@fsT-tmF-wfsBU-wmB.snap | 13 + ...eck_fullscreen_maximize@fsT-tmF-wfsBU-wmBU.snap | 13 + ...g__check_fullscreen_maximize@fsT-tmF-wfsBU.snap | 13 + ...ing__check_fullscreen_maximize@fsT-tmF-wmA.snap | 17 ++ ...ng__check_fullscreen_maximize@fsT-tmF-wmAU.snap | 14 ++ ...ing__check_fullscreen_maximize@fsT-tmF-wmB.snap | 13 + ...ng__check_fullscreen_maximize@fsT-tmF-wmBU.snap | 13 + ...opening__check_fullscreen_maximize@fsT-tmF.snap | 13 + ...heck_fullscreen_maximize@fsT-tmT-wfsAN-wmA.snap | 18 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsAN-wmAU.snap | 15 ++ ...heck_fullscreen_maximize@fsT-tmT-wfsAN-wmB.snap | 17 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsAN-wmBU.snap | 17 ++ ...g__check_fullscreen_maximize@fsT-tmT-wfsAN.snap | 17 ++ ...heck_fullscreen_maximize@fsT-tmT-wfsAU-wmA.snap | 15 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsAU-wmAU.snap | 12 + ...heck_fullscreen_maximize@fsT-tmT-wfsAU-wmB.snap | 14 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsAU-wmBU.snap | 14 ++ ...g__check_fullscreen_maximize@fsT-tmT-wfsAU.snap | 14 ++ ...heck_fullscreen_maximize@fsT-tmT-wfsBN-wmA.snap | 17 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsBN-wmAU.snap | 14 ++ ...heck_fullscreen_maximize@fsT-tmT-wfsBN-wmB.snap | 16 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsBN-wmBU.snap | 16 ++ ...g__check_fullscreen_maximize@fsT-tmT-wfsBN.snap | 16 ++ ...heck_fullscreen_maximize@fsT-tmT-wfsBU-wmA.snap | 17 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsBU-wmAU.snap | 14 ++ ...heck_fullscreen_maximize@fsT-tmT-wfsBU-wmB.snap | 16 ++ ...eck_fullscreen_maximize@fsT-tmT-wfsBU-wmBU.snap | 16 ++ ...g__check_fullscreen_maximize@fsT-tmT-wfsBU.snap | 16 ++ ...ing__check_fullscreen_maximize@fsT-tmT-wmA.snap | 17 ++ ...ng__check_fullscreen_maximize@fsT-tmT-wmAU.snap | 14 ++ ...ing__check_fullscreen_maximize@fsT-tmT-wmB.snap | 16 ++ ...ng__check_fullscreen_maximize@fsT-tmT-wmBU.snap | 16 ++ ...opening__check_fullscreen_maximize@fsT-tmT.snap | 16 ++ ...g__check_fullscreen_maximize@fsT-wfsAN-wmA.snap | 18 ++ ...__check_fullscreen_maximize@fsT-wfsAN-wmAU.snap | 15 ++ ...g__check_fullscreen_maximize@fsT-wfsAN-wmB.snap | 17 ++ ...__check_fullscreen_maximize@fsT-wfsAN-wmBU.snap | 14 ++ ...ening__check_fullscreen_maximize@fsT-wfsAN.snap | 14 ++ ...g__check_fullscreen_maximize@fsT-wfsAU-wmA.snap | 15 ++ ...__check_fullscreen_maximize@fsT-wfsAU-wmAU.snap | 12 + ...g__check_fullscreen_maximize@fsT-wfsAU-wmB.snap | 14 ++ ...__check_fullscreen_maximize@fsT-wfsAU-wmBU.snap | 11 + ...ening__check_fullscreen_maximize@fsT-wfsAU.snap | 11 + ...g__check_fullscreen_maximize@fsT-wfsBN-wmA.snap | 17 ++ ...__check_fullscreen_maximize@fsT-wfsBN-wmAU.snap | 14 ++ ...g__check_fullscreen_maximize@fsT-wfsBN-wmB.snap | 16 ++ ...__check_fullscreen_maximize@fsT-wfsBN-wmBU.snap | 13 + ...ening__check_fullscreen_maximize@fsT-wfsBN.snap | 13 + ...g__check_fullscreen_maximize@fsT-wfsBU-wmA.snap | 17 ++ ...__check_fullscreen_maximize@fsT-wfsBU-wmAU.snap | 14 ++ ...g__check_fullscreen_maximize@fsT-wfsBU-wmB.snap | 16 ++ ...__check_fullscreen_maximize@fsT-wfsBU-wmBU.snap | 13 + ...ening__check_fullscreen_maximize@fsT-wfsBU.snap | 13 + ...opening__check_fullscreen_maximize@fsT-wmA.snap | 17 ++ ...pening__check_fullscreen_maximize@fsT-wmAU.snap | 14 ++ ...opening__check_fullscreen_maximize@fsT-wmB.snap | 16 ++ ...pening__check_fullscreen_maximize@fsT-wmBU.snap | 13 + ...dow_opening__check_fullscreen_maximize@fsT.snap | 13 + ...g__check_fullscreen_maximize@tmF-wfsAN-wmA.snap | 18 ++ ...__check_fullscreen_maximize@tmF-wfsAN-wmAU.snap | 15 ++ ...g__check_fullscreen_maximize@tmF-wfsAN-wmB.snap | 14 ++ ...__check_fullscreen_maximize@tmF-wfsAN-wmBU.snap | 14 ++ ...ening__check_fullscreen_maximize@tmF-wfsAN.snap | 14 ++ ...g__check_fullscreen_maximize@tmF-wfsAU-wmA.snap | 15 ++ ...__check_fullscreen_maximize@tmF-wfsAU-wmAU.snap | 12 + ...g__check_fullscreen_maximize@tmF-wfsAU-wmB.snap | 11 + ...__check_fullscreen_maximize@tmF-wfsAU-wmBU.snap | 11 + ...ening__check_fullscreen_maximize@tmF-wfsAU.snap | 11 + ...g__check_fullscreen_maximize@tmF-wfsBN-wmA.snap | 17 ++ ...__check_fullscreen_maximize@tmF-wfsBN-wmAU.snap | 14 ++ ...g__check_fullscreen_maximize@tmF-wfsBN-wmB.snap | 13 + ...__check_fullscreen_maximize@tmF-wfsBN-wmBU.snap | 13 + ...ening__check_fullscreen_maximize@tmF-wfsBN.snap | 13 + ...g__check_fullscreen_maximize@tmF-wfsBU-wmA.snap | 14 ++ ...__check_fullscreen_maximize@tmF-wfsBU-wmAU.snap | 11 + ...g__check_fullscreen_maximize@tmF-wfsBU-wmB.snap | 10 + ...__check_fullscreen_maximize@tmF-wfsBU-wmBU.snap | 10 + ...ening__check_fullscreen_maximize@tmF-wfsBU.snap | 10 + ...opening__check_fullscreen_maximize@tmF-wmA.snap | 14 ++ ...pening__check_fullscreen_maximize@tmF-wmAU.snap | 11 + ...opening__check_fullscreen_maximize@tmF-wmB.snap | 10 + ...pening__check_fullscreen_maximize@tmF-wmBU.snap | 10 + ...dow_opening__check_fullscreen_maximize@tmF.snap | 10 + ...g__check_fullscreen_maximize@tmT-wfsAN-wmA.snap | 18 ++ ...__check_fullscreen_maximize@tmT-wfsAN-wmAU.snap | 15 ++ ...g__check_fullscreen_maximize@tmT-wfsAN-wmB.snap | 17 ++ ...__check_fullscreen_maximize@tmT-wfsAN-wmBU.snap | 17 ++ ...ening__check_fullscreen_maximize@tmT-wfsAN.snap | 17 ++ ...g__check_fullscreen_maximize@tmT-wfsAU-wmA.snap | 15 ++ ...__check_fullscreen_maximize@tmT-wfsAU-wmAU.snap | 12 + ...g__check_fullscreen_maximize@tmT-wfsAU-wmB.snap | 14 ++ ...__check_fullscreen_maximize@tmT-wfsAU-wmBU.snap | 14 ++ ...ening__check_fullscreen_maximize@tmT-wfsAU.snap | 14 ++ ...g__check_fullscreen_maximize@tmT-wfsBN-wmA.snap | 17 ++ ...__check_fullscreen_maximize@tmT-wfsBN-wmAU.snap | 14 ++ ...g__check_fullscreen_maximize@tmT-wfsBN-wmB.snap | 16 ++ ...__check_fullscreen_maximize@tmT-wfsBN-wmBU.snap | 16 ++ ...ening__check_fullscreen_maximize@tmT-wfsBN.snap | 16 ++ ...g__check_fullscreen_maximize@tmT-wfsBU-wmA.snap | 14 ++ ...__check_fullscreen_maximize@tmT-wfsBU-wmAU.snap | 11 + ...g__check_fullscreen_maximize@tmT-wfsBU-wmB.snap | 13 + ...__check_fullscreen_maximize@tmT-wfsBU-wmBU.snap | 13 + ...ening__check_fullscreen_maximize@tmT-wfsBU.snap | 13 + ...opening__check_fullscreen_maximize@tmT-wmA.snap | 14 ++ ...pening__check_fullscreen_maximize@tmT-wmAU.snap | 11 + ...opening__check_fullscreen_maximize@tmT-wmB.snap | 13 + ...pening__check_fullscreen_maximize@tmT-wmBU.snap | 13 + ...dow_opening__check_fullscreen_maximize@tmT.snap | 13 + ...ening__check_fullscreen_maximize@wfsAN-wmA.snap | 18 ++ ...ning__check_fullscreen_maximize@wfsAN-wmAU.snap | 15 ++ ...ening__check_fullscreen_maximize@wfsAN-wmB.snap | 17 ++ ...ning__check_fullscreen_maximize@wfsAN-wmBU.snap | 14 ++ ...w_opening__check_fullscreen_maximize@wfsAN.snap | 14 ++ ...ening__check_fullscreen_maximize@wfsAU-wmA.snap | 15 ++ ...ning__check_fullscreen_maximize@wfsAU-wmAU.snap | 12 + ...ening__check_fullscreen_maximize@wfsAU-wmB.snap | 14 ++ ...ning__check_fullscreen_maximize@wfsAU-wmBU.snap | 11 + ...w_opening__check_fullscreen_maximize@wfsAU.snap | 11 + ...ening__check_fullscreen_maximize@wfsBN-wmA.snap | 17 ++ ...ning__check_fullscreen_maximize@wfsBN-wmAU.snap | 14 ++ ...ening__check_fullscreen_maximize@wfsBN-wmB.snap | 16 ++ ...ning__check_fullscreen_maximize@wfsBN-wmBU.snap | 13 + ...w_opening__check_fullscreen_maximize@wfsBN.snap | 13 + ...ening__check_fullscreen_maximize@wfsBU-wmA.snap | 14 ++ ...ning__check_fullscreen_maximize@wfsBU-wmAU.snap | 11 + ...ening__check_fullscreen_maximize@wfsBU-wmB.snap | 13 + ...ning__check_fullscreen_maximize@wfsBU-wmBU.snap | 10 + ...w_opening__check_fullscreen_maximize@wfsBU.snap | 10 + ...dow_opening__check_fullscreen_maximize@wmA.snap | 14 ++ ...ow_opening__check_fullscreen_maximize@wmAU.snap | 11 + ...dow_opening__check_fullscreen_maximize@wmB.snap | 13 + ...ow_opening__check_fullscreen_maximize@wmBU.snap | 10 + src/tests/window_opening.rs | 233 ++++++++++++++++- 229 files changed, 3618 insertions(+), 4 deletions(-) create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmT.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmF.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-tmT.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsT.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmF.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@tmT.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBN-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBN-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBN-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBN-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBN.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBU-wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBU-wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBU-wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBU-wmBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wfsBU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wmA.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wmAU.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wmB.snap create mode 100644 src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@wmBU.snap (limited to 'src/tests') diff --git a/src/tests/client.rs b/src/tests/client.rs index 89fa15a3..7776b6a2 100644 --- a/src/tests/client.rs +++ b/src/tests/client.rs @@ -357,6 +357,14 @@ impl Window { self.xdg_toplevel.unset_fullscreen(); } + pub fn set_maximized(&self) { + self.xdg_toplevel.set_maximized(); + } + + pub fn unset_maximized(&self) { + self.xdg_toplevel.unset_maximized(); + } + pub fn set_parent(&self, parent: Option<&XdgToplevel>) { self.xdg_toplevel.set_parent(parent); } diff --git a/src/tests/floating.rs b/src/tests/floating.rs index ea5f42f1..3ceedfd4 100644 --- a/src/tests/floating.rs +++ b/src/tests/floating.rs @@ -458,6 +458,55 @@ fn interactive_move_unfullscreen_to_floating_restores_size() { ); } +#[test] +fn interactive_move_unmaximize_to_floating_restores_size() { + let (mut f, id, surface) = set_up(); + + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // Change size while we're floating and commit. + let window = f.client(id).window(&surface); + window.set_size(200, 200); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let _ = f.client(id).window(&surface).recent_configures(); + + let niri = f.niri(); + let mapped = niri.layout.windows().next().unwrap().1; + let window = mapped.window.clone(); + niri.layout.set_maximized(&window, true); + f.double_roundtrip(id); + + // This should request a maximized size. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1888 × 1048, states: [Activated, Maximized]" + ); + + // Start an interactive move which causes an unmaximize into floating. + let output = f.niri_output(1); + let niri = f.niri(); + let mapped = niri.layout.windows().next().unwrap().1; + let window = mapped.window.clone(); + niri.layout + .interactive_move_begin(window.clone(), &output, Point::default()); + niri.layout.interactive_move_update( + &window, + Point::from((1000., 0.)), + output, + Point::default(), + ); + f.double_roundtrip(id); + + // This should request the stored floating size (200 × 200). + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 200 × 200, bounds: 1920 × 1080, states: [Activated]" + ); +} + #[test] fn resize_during_interactive_move_propagates_to_floating() { let (mut f, id, surface) = set_up(); @@ -791,6 +840,66 @@ fn floating_doesnt_store_fullscreen_size() { ); } +#[test] +fn floating_doesnt_store_maximized_size() { + let mut f = Fixture::new(); + f.add_output(1, (1920, 1080)); + f.add_output(2, (1280, 720)); + + // Open a window maximized. + let id = f.add_client(); + let window = f.client(id).create_window(); + let surface = window.surface.clone(); + window.set_maximized(); + window.commit(); + f.roundtrip(id); + + let window = f.client(id).window(&surface); + window.attach_new_buffer(); + window.set_size(1920, 1080); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let _ = f.client(id).window(&surface).recent_configures(); + + // Make it floating. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // This should request 0 × 0 to unmaximize. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 0 × 0, bounds: 1920 × 1080, states: [Activated]" + ); + + // Without committing, make it tiling again. We never committed while floating, so there's no + // floating size to remember. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // This should request the tiled size. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1048, bounds: 1888 × 1048, states: [Activated]" + ); + + // Commit in response. + let window = f.client(id).window(&surface); + window.set_size(100, 100); + window.ack_last_and_commit(); + f.roundtrip(id); + + // Make the window floating again. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // This shouldn't request any size change, particularly not the maximized size. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 100 × 100, bounds: 1920 × 1080, states: [Activated]" + ); +} + #[test] fn floating_respects_non_fixed_min_max_rule() { let config = r##" @@ -888,6 +997,33 @@ fn unfullscreen_to_floating_doesnt_send_extra_configure() { ); } +#[test] +fn unmaximize_to_floating_doesnt_send_extra_configure() { + let (mut f, id, surface) = set_up(); + + // Make it floating. + f.niri().layout.toggle_window_floating(None); + f.roundtrip(id); + + // Maximize. + let window = f.client(id).window(&surface); + window.set_maximized(); + f.double_roundtrip(id); + + let _ = f.client(id).window(&surface).recent_configures(); + + // Unmaximzie via the window request which requires a configure response. + let window = f.client(id).window(&surface); + window.unset_maximized(); + f.double_roundtrip(id); + + // This should configure only once and not twice. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 936 × 1048, bounds: 1920 × 1080, states: [Activated]" + ); +} + #[test] fn unfullscreen_to_same_size_floating() { let (mut f, id, surface) = set_up(); @@ -926,6 +1062,44 @@ fn unfullscreen_to_same_size_floating() { ); } +#[test] +fn unmaximize_to_same_size_floating() { + let (mut f, id, surface) = set_up(); + + // Make it floating. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // Change size to the same as maximized, make niri remember it. + let window = f.client(id).window(&surface); + window.set_size(1920, 1080); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let _ = f.client(id).window(&surface).recent_configures(); + + // Maximize. + let window = f.client(id).window(&surface); + window.set_maximized(); + f.double_roundtrip(id); + + // The maximize configure. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1888 × 1048, states: [Activated, Maximized]" + ); + + // Unmaximize into floating. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // We should see a configure with the same size and no maximized state. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1920 × 1080, states: [Activated]" + ); +} + #[test] fn unfullscreen_to_same_size_windowed_fullscreen_floating() { let (mut f, id, surface) = set_up(); @@ -967,6 +1141,67 @@ fn unfullscreen_to_same_size_windowed_fullscreen_floating() { ); } +#[test] +fn unmaximize_to_same_size_windowed_fullscreen_floating() { + let (mut f, id, surface) = set_up(); + + let mapped = f.niri().layout.windows().next().unwrap().1; + let window_id = mapped.window.clone(); + + // Make it floating. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // Change size to the same as maximized, make niri remember it. + let window = f.client(id).window(&surface); + window.set_size(1920, 1080); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let _ = f.client(id).window(&surface).recent_configures(); + + // Maximize. + let window = f.client(id).window(&surface); + window.set_maximized(); + f.double_roundtrip(id); + + // The maximize configure. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1888 × 1048, states: [Activated, Maximized]" + ); + + // Enable windowed-fullscreen. + f.niri().layout.toggle_windowed_fullscreen(&window_id); + f.double_roundtrip(id); + + // The windowed-fullscreen configure. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1888 × 1048, states: [Activated, Fullscreen]" + ); + + // Go back to windowed-fullscreen floating. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // Should send configure because the bounds have changed. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1920 × 1080, states: [Activated, Fullscreen]" + ); + + // Disable windowed-fullscreen. + f.niri().layout.toggle_windowed_fullscreen(&window_id); + f.double_roundtrip(id); + + // Should send configure dropping the Fullscreen state. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1920 × 1080, states: [Activated]" + ); +} + #[test] fn unfullscreen_to_same_size_same_bounds_floating() { let config = r##" @@ -1011,6 +1246,50 @@ layout { ); } +#[test] +fn unmaximize_to_same_size_same_bounds_floating() { + let config = r##" +layout { + gaps 0 +} +"##; + let config = Config::parse_mem(config).unwrap(); + let (mut f, id, surface) = set_up_with_config(config); + + // Make it floating. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // Change size to the same as fullscreen, make niri remember it. + let window = f.client(id).window(&surface); + window.set_size(1920, 1080); + window.ack_last_and_commit(); + f.double_roundtrip(id); + + let _ = f.client(id).window(&surface).recent_configures(); + + // Maximize. + let window = f.client(id).window(&surface); + window.set_maximized(); + f.double_roundtrip(id); + + // The maximize configure. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1920 × 1080, states: [Activated, Maximized]" + ); + + // Unmaximize into floating. + f.niri().layout.toggle_window_floating(None); + f.double_roundtrip(id); + + // We should see a configure with the same size and no Maximized state. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1920 × 1080, states: [Activated]" + ); +} + #[test] fn repeated_size_request() { let (mut f, id, surface) = set_up(); diff --git a/src/tests/fullscreen.rs b/src/tests/fullscreen.rs index b10a7821..b12e8758 100644 --- a/src/tests/fullscreen.rs +++ b/src/tests/fullscreen.rs @@ -127,7 +127,7 @@ fn windowed_fullscreen_chain() { let mapped = f.niri().layout.windows().next().unwrap().1; format!( "fs {}, wfs {}", - mapped.is_fullscreen(), + mapped.sizing_mode().is_fullscreen(), mapped.is_windowed_fullscreen() ) }; @@ -255,3 +255,43 @@ fn interactive_move_unfullscreen_to_scrolling_restores_size() { @"size: 936 × 1048, bounds: 1920 × 1080, states: [Activated]" ); } + +#[test] +fn interactive_move_unmaximize_to_scrolling_restores_size() { + let (mut f, id, surface) = set_up(); + + let _ = f.client(id).window(&surface).recent_configures(); + + let niri = f.niri(); + let mapped = niri.layout.windows().next().unwrap().1; + let window = mapped.window.clone(); + niri.layout.set_maximized(&window, true); + f.double_roundtrip(id); + + // This should request a maximized size. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 1920 × 1080, bounds: 1888 × 1048, states: [Activated, Maximized]" + ); + + // Start an interactive move which causes an unmaximize. + let output = f.niri_output(1); + let niri = f.niri(); + let mapped = niri.layout.windows().next().unwrap().1; + let window = mapped.window.clone(); + niri.layout + .interactive_move_begin(window.clone(), &output, Point::default()); + niri.layout.interactive_move_update( + &window, + Point::from((1000., 0.)), + output, + Point::default(), + ); + f.double_roundtrip(id); + + // This should request the tiled size. + assert_snapshot!( + f.client(id).window(&surface).format_recent_configures(), + @"size: 936 × 1048, bounds: 1920 × 1080, states: [Activated]" + ); +} diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize.snap new file mode 100644 index 00000000..b8aaab07 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize.snap @@ -0,0 +1,10 @@ +--- +source: src/tests/window_opening.rs +description: "config:\nwindow-rule {\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmA.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmA.snap new file mode 100644 index 00000000..cf4127f9 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmA.snap @@ -0,0 +1,18 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nwant maximized: A\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Maximized] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] + +unfullscreen configure: +size: 1280 × 720, bounds: 1248 × 688, states: [Activated, Maximized] + +unmaximize configure: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmAU.snap new file mode 100644 index 00000000..37fb3d5c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmAU.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nwant maximized: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] + +unfullscreen configure: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmB.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmB.snap new file mode 100644 index 00000000..6aba5600 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmB.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nwant maximized: B\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] + +unfullscreen configure: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmBU.snap new file mode 100644 index 00000000..8a13255d --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN-wmBU.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nwant maximized: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] + +unfullscreen configure: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN.snap new file mode 100644 index 00000000..8b3ce1a0 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAN.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AN\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] +size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen, Activated] + +unfullscreen configure: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmA.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmA.snap new file mode 100644 index 00000000..45d60f18 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmA.snap @@ -0,0 +1,15 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nwant maximized: A\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Maximized] +size: 1280 × 720, bounds: 1248 × 688, states: [Maximized] +size: 1280 × 720, bounds: 1248 × 688, states: [Maximized, Activated] + +unmaximize configure: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmAU.snap new file mode 100644 index 00000000..4b427abf --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmAU.snap @@ -0,0 +1,12 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nwant maximized: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmB.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmB.snap new file mode 100644 index 00000000..73e098e2 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmB.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nwant maximized: B\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmBU.snap new file mode 100644 index 00000000..40cae70c --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU-wmBU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nwant maximized: BU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU.snap new file mode 100644 index 00000000..d57baf3b --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsAU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmA.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmA.snap new file mode 100644 index 00000000..6153430f --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmA.snap @@ -0,0 +1,14 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nwant maximized: A\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 1280 × 720, bounds: 1248 × 688, states: [Maximized] +size: 1280 × 720, bounds: 1248 × 688, states: [Maximized, Activated] + +unmaximize configure: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmAU.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmAU.snap new file mode 100644 index 00000000..936b6b12 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmAU.snap @@ -0,0 +1,11 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nwant maximized: AU\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [] +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmB.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmB.snap new file mode 100644 index 00000000..e9134a07 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmB.snap @@ -0,0 +1,10 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nwant maximized: B\nconfig:\nwindow-rule {\n open-fullscreen false\n open-maximized-to-edges false\n}" +expression: snapshot +--- +initial configure: +size: 616 × 688, bounds: 1248 × 688, states: [] + +post-map configures: +size: 616 × 688, bounds: 1248 × 688, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmBU.snap b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmBU.snap new file mode 100644 index 00000000..ea41a294 --- /dev/null +++ b/src/tests/snapshots/niri__tests__window_opening__check_fullscreen_maximize@fsF-tmF-wfsBN-wmBU.snap @@ -0,0 +1,10 @@ +--- +source: src/tests/window_opening.rs +description: "want fullscreen: BN\nwant maximized: BU\nconfig:\nwindow-rule {\n open-fullscreen