From c359672bd266cab37adc3f91750ef59a6a05d515 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 17 Dec 2024 10:03:27 +0300 Subject: floating: Request size only once Let floating windows resize themselves and keep that size. --- src/layout/floating.rs | 35 +++---- src/layout/mod.rs | 26 ++++- ...check_target_output_and_workspace@fsF-spA1.snap | 2 +- ...check_target_output_and_workspace@fsF-spA2.snap | 2 +- ...check_target_output_and_workspace@fsF-spB1.snap | 2 +- ...check_target_output_and_workspace@fsF-spB2.snap | 1 + ...target_output_and_workspace@fsF-wfsAA-spA1.snap | 2 +- ...target_output_and_workspace@fsF-wfsAA-spA2.snap | 2 +- ...target_output_and_workspace@fsF-wfsAA-spB1.snap | 2 +- ...target_output_and_workspace@fsF-wfsAA-spB2.snap | 1 + ...target_output_and_workspace@fsF-wfsB1-spA1.snap | 2 +- ...target_output_and_workspace@fsF-wfsB1-spA2.snap | 2 +- ...target_output_and_workspace@fsF-wfsB1-spB1.snap | 2 +- ...target_output_and_workspace@fsF-wfsB1-spB2.snap | 2 +- ...target_output_and_workspace@fsF-wfsB2-spA1.snap | 2 +- ...target_output_and_workspace@fsF-wfsB2-spA2.snap | 2 +- ...target_output_and_workspace@fsF-wfsB2-spB1.snap | 1 + ...target_output_and_workspace@fsF-wfsB2-spB2.snap | 1 + ...target_output_and_workspace@fsF-wfsBN-spA1.snap | 2 +- ...target_output_and_workspace@fsF-wfsBN-spA2.snap | 2 +- ...target_output_and_workspace@fsF-wfsBN-spB1.snap | 2 +- ...target_output_and_workspace@fsF-wfsBN-spB2.snap | 1 + ...target_output_and_workspace@fsF-wfsBU-spA1.snap | 2 +- ...target_output_and_workspace@fsF-wfsBU-spA2.snap | 2 +- ...target_output_and_workspace@fsF-wfsBU-spB1.snap | 2 +- ...target_output_and_workspace@fsF-wfsBU-spB2.snap | 1 + ...target_output_and_workspace@fsT-wfsAA-spA1.snap | 2 +- ...target_output_and_workspace@fsT-wfsAA-spA2.snap | 2 +- ...target_output_and_workspace@fsT-wfsAA-spB1.snap | 2 +- ..._target_output_and_workspace@out1-fsF-spA1.snap | 2 +- ..._target_output_and_workspace@out1-fsF-spA2.snap | 2 +- ..._target_output_and_workspace@out1-fsF-spB1.snap | 2 +- ..._target_output_and_workspace@out1-fsF-spB2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsAA-spA1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsAA-spA2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsAA-spB1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsAA-spB2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB1-spA1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB1-spA2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB1-spB1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB1-spB2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB2-spA1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB2-spA2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB2-spB1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsB2-spB2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBN-spA1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBN-spA2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBN-spB1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBN-spB2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBU-spA1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBU-spA2.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBU-spB1.snap | 2 +- ...t_output_and_workspace@out1-fsF-wfsBU-spB2.snap | 2 +- ...t_output_and_workspace@out1-fsT-wfsAA-spA1.snap | 2 +- ...t_output_and_workspace@out1-fsT-wfsAA-spA2.snap | 2 +- ...t_output_and_workspace@out1-fsT-wfsAA-spB1.snap | 2 +- ...t_output_and_workspace@out1-fsT-wfsAA-spB2.snap | 2 +- ...heck_target_output_and_workspace@out1-spA1.snap | 2 +- ...heck_target_output_and_workspace@out1-spA2.snap | 2 +- ...heck_target_output_and_workspace@out1-spB1.snap | 2 +- ...heck_target_output_and_workspace@out1-spB2.snap | 2 +- ...arget_output_and_workspace@out1-wfsAA-spA1.snap | 2 +- ...arget_output_and_workspace@out1-wfsAA-spA2.snap | 2 +- ...arget_output_and_workspace@out1-wfsAA-spB1.snap | 2 +- ...arget_output_and_workspace@out1-wfsAA-spB2.snap | 2 +- ...arget_output_and_workspace@out1-wfsBU-spA1.snap | 2 +- ...arget_output_and_workspace@out1-wfsBU-spA2.snap | 2 +- ...arget_output_and_workspace@out1-wfsBU-spB1.snap | 2 +- ...arget_output_and_workspace@out1-wfsBU-spB2.snap | 2 +- ..._target_output_and_workspace@out2-fsF-spA1.snap | 2 +- ..._target_output_and_workspace@out2-fsF-spA2.snap | 2 +- ..._target_output_and_workspace@out2-fsF-spB1.snap | 1 + ..._target_output_and_workspace@out2-fsF-spB2.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsAA-spB1.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsAA-spB2.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsB1-spA1.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsB1-spA2.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsB1-spB1.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsB1-spB2.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsB2-spA1.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsB2-spA2.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsB2-spB1.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsB2-spB2.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsBN-spA1.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsBN-spA2.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsBN-spB1.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsBN-spB2.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsBU-spA1.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsBU-spA2.snap | 2 +- ...t_output_and_workspace@out2-fsF-wfsBU-spB1.snap | 1 + ...t_output_and_workspace@out2-fsF-wfsBU-spB2.snap | 1 + ...heck_target_output_and_workspace@out2-spA1.snap | 2 +- ...heck_target_output_and_workspace@out2-spA2.snap | 2 +- ...heck_target_output_and_workspace@out2-spB1.snap | 1 + ...heck_target_output_and_workspace@out2-spB2.snap | 1 + ...arget_output_and_workspace@out2-wfsAA-spB1.snap | 1 + ...arget_output_and_workspace@out2-wfsAA-spB2.snap | 1 + ...arget_output_and_workspace@out2-wfsBU-spA1.snap | 2 +- ...arget_output_and_workspace@out2-wfsBU-spA2.snap | 2 +- ...arget_output_and_workspace@out2-wfsBU-spB1.snap | 1 + ...arget_output_and_workspace@out2-wfsBU-spB2.snap | 1 + ...ng__check_target_output_and_workspace@spA1.snap | 2 +- ...ng__check_target_output_and_workspace@spA2.snap | 2 +- ...ng__check_target_output_and_workspace@spB1.snap | 2 +- ...ng__check_target_output_and_workspace@spB2.snap | 1 + ...eck_target_output_and_workspace@wfsAA-spA1.snap | 2 +- ...eck_target_output_and_workspace@wfsAA-spA2.snap | 2 +- ...eck_target_output_and_workspace@wfsAA-spB1.snap | 2 +- ...eck_target_output_and_workspace@wfsAA-spB2.snap | 1 + ...eck_target_output_and_workspace@wfsBU-spA1.snap | 2 +- ...eck_target_output_and_workspace@wfsBU-spA2.snap | 2 +- ...eck_target_output_and_workspace@wfsBU-spB1.snap | 2 +- ...eck_target_output_and_workspace@wfsBU-spB2.snap | 1 + ...k_target_output_and_workspace@ws1-fsF-spA1.snap | 2 +- ...k_target_output_and_workspace@ws1-fsF-spA2.snap | 2 +- ...k_target_output_and_workspace@ws1-fsF-spB1.snap | 2 +- ...k_target_output_and_workspace@ws1-fsF-spB2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsAA-spA1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsAA-spA2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsAA-spB1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsAA-spB2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB1-spA1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB1-spA2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB1-spB1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB1-spB2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB2-spA1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB2-spA2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB2-spB1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsB2-spB2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBN-spA1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBN-spA2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBN-spB1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBN-spB2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBU-spA1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBU-spA2.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBU-spB1.snap | 2 +- ...et_output_and_workspace@ws1-fsF-wfsBU-spB2.snap | 2 +- ...et_output_and_workspace@ws1-fsT-wfsAA-spA1.snap | 2 +- ...et_output_and_workspace@ws1-fsT-wfsAA-spA2.snap | 2 +- ...et_output_and_workspace@ws1-fsT-wfsAA-spB1.snap | 2 +- ...et_output_and_workspace@ws1-fsT-wfsAA-spB2.snap | 2 +- ...get_output_and_workspace@ws1-out1-fsF-spA1.snap | 2 +- ...get_output_and_workspace@ws1-out1-fsF-spA2.snap | 2 +- ...get_output_and_workspace@ws1-out1-fsF-spB1.snap | 2 +- ...get_output_and_workspace@ws1-out1-fsF-spB2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsAA-spA1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsAA-spA2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsAA-spB1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsAA-spB2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB1-spA1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB1-spA2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB1-spB1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB1-spB2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB2-spA1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB2-spA2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB2-spB1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsB2-spB2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBN-spA1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBN-spA2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBN-spB1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBN-spB2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBU-spA1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBU-spA2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBU-spB1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsF-wfsBU-spB2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsT-wfsAA-spA1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsT-wfsAA-spA2.snap | 2 +- ...tput_and_workspace@ws1-out1-fsT-wfsAA-spB1.snap | 2 +- ...tput_and_workspace@ws1-out1-fsT-wfsAA-spB2.snap | 2 +- ..._target_output_and_workspace@ws1-out1-spA1.snap | 2 +- ..._target_output_and_workspace@ws1-out1-spA2.snap | 2 +- ..._target_output_and_workspace@ws1-out1-spB1.snap | 2 +- ..._target_output_and_workspace@ws1-out1-spB2.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsAA-spA1.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsAA-spA2.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsAA-spB1.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsAA-spB2.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsBU-spA1.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsBU-spA2.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsBU-spB1.snap | 2 +- ...t_output_and_workspace@ws1-out1-wfsBU-spB2.snap | 2 +- ...get_output_and_workspace@ws1-out2-fsF-spA1.snap | 2 +- ...get_output_and_workspace@ws1-out2-fsF-spA2.snap | 2 +- ...get_output_and_workspace@ws1-out2-fsF-spB1.snap | 2 +- ...get_output_and_workspace@ws1-out2-fsF-spB2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsAA-spA1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsAA-spA2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsAA-spB1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsAA-spB2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB1-spA1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB1-spA2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB1-spB1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB1-spB2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB2-spA1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB2-spA2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB2-spB1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsB2-spB2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBN-spA1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBN-spA2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBN-spB1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBN-spB2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBU-spA1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBU-spA2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBU-spB1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsF-wfsBU-spB2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsT-wfsAA-spA1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsT-wfsAA-spA2.snap | 2 +- ...tput_and_workspace@ws1-out2-fsT-wfsAA-spB1.snap | 2 +- ...tput_and_workspace@ws1-out2-fsT-wfsAA-spB2.snap | 2 +- ..._target_output_and_workspace@ws1-out2-spA1.snap | 2 +- ..._target_output_and_workspace@ws1-out2-spA2.snap | 2 +- ..._target_output_and_workspace@ws1-out2-spB1.snap | 2 +- ..._target_output_and_workspace@ws1-out2-spB2.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsAA-spA1.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsAA-spA2.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsAA-spB1.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsAA-spB2.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsBU-spA1.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsBU-spA2.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsBU-spB1.snap | 2 +- ...t_output_and_workspace@ws1-out2-wfsBU-spB2.snap | 2 +- ...check_target_output_and_workspace@ws1-spA1.snap | 2 +- ...check_target_output_and_workspace@ws1-spA2.snap | 2 +- ...check_target_output_and_workspace@ws1-spB1.snap | 2 +- ...check_target_output_and_workspace@ws1-spB2.snap | 2 +- ...target_output_and_workspace@ws1-wfsAA-spA1.snap | 2 +- ...target_output_and_workspace@ws1-wfsAA-spA2.snap | 2 +- ...target_output_and_workspace@ws1-wfsAA-spB1.snap | 2 +- ...target_output_and_workspace@ws1-wfsAA-spB2.snap | 2 +- ...target_output_and_workspace@ws1-wfsBU-spA1.snap | 2 +- ...target_output_and_workspace@ws1-wfsBU-spA2.snap | 2 +- ...target_output_and_workspace@ws1-wfsBU-spB1.snap | 2 +- ...target_output_and_workspace@ws1-wfsBU-spB2.snap | 2 +- ...k_target_output_and_workspace@ws2-fsF-spA1.snap | 2 +- ...k_target_output_and_workspace@ws2-fsF-spA2.snap | 2 +- ...k_target_output_and_workspace@ws2-fsF-spB1.snap | 1 + ...k_target_output_and_workspace@ws2-fsF-spB2.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsAA-spB1.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsAA-spB2.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsB1-spA1.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsB1-spA2.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsB1-spB1.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsB1-spB2.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsB2-spA1.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsB2-spA2.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsB2-spB1.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsB2-spB2.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsBN-spA1.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsBN-spA2.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsBN-spB1.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsBN-spB2.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsBU-spA1.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsBU-spA2.snap | 2 +- ...et_output_and_workspace@ws2-fsF-wfsBU-spB1.snap | 1 + ...et_output_and_workspace@ws2-fsF-wfsBU-spB2.snap | 1 + ...get_output_and_workspace@ws2-out1-fsF-spA1.snap | 2 +- ...get_output_and_workspace@ws2-out1-fsF-spA2.snap | 2 +- ...get_output_and_workspace@ws2-out1-fsF-spB1.snap | 1 + ...get_output_and_workspace@ws2-out1-fsF-spB2.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsAA-spB1.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsAA-spB2.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsB1-spA1.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsB1-spA2.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsB1-spB1.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsB1-spB2.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsB2-spA1.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsB2-spA2.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsB2-spB1.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsB2-spB2.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsBN-spA1.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsBN-spA2.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsBN-spB1.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsBN-spB2.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsBU-spA1.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsBU-spA2.snap | 2 +- ...tput_and_workspace@ws2-out1-fsF-wfsBU-spB1.snap | 1 + ...tput_and_workspace@ws2-out1-fsF-wfsBU-spB2.snap | 1 + ..._target_output_and_workspace@ws2-out1-spA1.snap | 2 +- ..._target_output_and_workspace@ws2-out1-spA2.snap | 2 +- ..._target_output_and_workspace@ws2-out1-spB1.snap | 1 + ..._target_output_and_workspace@ws2-out1-spB2.snap | 1 + ...t_output_and_workspace@ws2-out1-wfsAA-spB1.snap | 1 + ...t_output_and_workspace@ws2-out1-wfsAA-spB2.snap | 1 + ...t_output_and_workspace@ws2-out1-wfsBU-spA1.snap | 2 +- ...t_output_and_workspace@ws2-out1-wfsBU-spA2.snap | 2 +- ...t_output_and_workspace@ws2-out1-wfsBU-spB1.snap | 1 + ...t_output_and_workspace@ws2-out1-wfsBU-spB2.snap | 1 + ...get_output_and_workspace@ws2-out2-fsF-spA1.snap | 2 +- ...get_output_and_workspace@ws2-out2-fsF-spA2.snap | 2 +- ...get_output_and_workspace@ws2-out2-fsF-spB1.snap | 1 + ...get_output_and_workspace@ws2-out2-fsF-spB2.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsAA-spB1.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsAA-spB2.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsB1-spA1.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsB1-spA2.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsB1-spB1.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsB1-spB2.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsB2-spA1.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsB2-spA2.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsB2-spB1.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsB2-spB2.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsBN-spA1.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsBN-spA2.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsBN-spB1.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsBN-spB2.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsBU-spA1.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsBU-spA2.snap | 2 +- ...tput_and_workspace@ws2-out2-fsF-wfsBU-spB1.snap | 1 + ...tput_and_workspace@ws2-out2-fsF-wfsBU-spB2.snap | 1 + ..._target_output_and_workspace@ws2-out2-spA1.snap | 2 +- ..._target_output_and_workspace@ws2-out2-spA2.snap | 2 +- ..._target_output_and_workspace@ws2-out2-spB1.snap | 1 + ..._target_output_and_workspace@ws2-out2-spB2.snap | 1 + ...t_output_and_workspace@ws2-out2-wfsAA-spB1.snap | 1 + ...t_output_and_workspace@ws2-out2-wfsAA-spB2.snap | 1 + ...t_output_and_workspace@ws2-out2-wfsBU-spA1.snap | 2 +- ...t_output_and_workspace@ws2-out2-wfsBU-spA2.snap | 2 +- ...t_output_and_workspace@ws2-out2-wfsBU-spB1.snap | 1 + ...t_output_and_workspace@ws2-out2-wfsBU-spB2.snap | 1 + ...check_target_output_and_workspace@ws2-spA1.snap | 2 +- ...check_target_output_and_workspace@ws2-spA2.snap | 2 +- ...check_target_output_and_workspace@ws2-spB1.snap | 1 + ...check_target_output_and_workspace@ws2-spB2.snap | 1 + ...target_output_and_workspace@ws2-wfsAA-spB1.snap | 1 + ...target_output_and_workspace@ws2-wfsAA-spB2.snap | 1 + ...target_output_and_workspace@ws2-wfsBU-spA1.snap | 2 +- ...target_output_and_workspace@ws2-wfsBU-spA2.snap | 2 +- ...target_output_and_workspace@ws2-wfsBU-spB1.snap | 1 + ...target_output_and_workspace@ws2-wfsBU-spB2.snap | 1 + src/window/mapped.rs | 113 ++++++++++++++++++++- 330 files changed, 479 insertions(+), 268 deletions(-) diff --git a/src/layout/floating.rs b/src/layout/floating.rs index ee9c7013..4565e2f2 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -367,7 +367,7 @@ impl FloatingSpace { tile.update_config(self.scale, self.options.clone()); let win = tile.window_mut(); - if win.is_pending_fullscreen() { + let size = if win.is_pending_fullscreen() { let mut size = Size::from((0, 0)); // Make sure fixed-size through window rules keeps working. @@ -380,8 +380,11 @@ impl FloatingSpace { size.h = min_size.h; } - win.request_size(size, true, None); - } + size + } else { + win.size() + }; + win.request_size_once(size, true); if activate || self.tiles.is_empty() { self.active_window_id = Some(win.id().clone()); @@ -591,16 +594,15 @@ impl FloatingSpace { win_width = ensure_min_max_size(win_width, min_size.w, max_size.w); win_width = max(1, win_width); - let win_height = win - .requested_size() - .map(|size| size.h) - // If we requested height = 0, then switch to the current height. - .filter(|h| *h != 0) - .unwrap_or_else(|| win.size().h); + let mut win_height = win.size_to_request().h; + // If we requested height = 0, then switch to the current height. + if win_height == 0 { + win_height = win.size().h; + } let win_height = ensure_min_max_size(win_height, min_size.h, max_size.h); let win_size = Size::from((win_width, win_height)); - win.request_size(win_size, animate, None); + win.request_size_once(win_size, animate); } pub fn set_window_height(&mut self, id: Option<&W::Id>, change: SizeChange, animate: bool) { @@ -622,16 +624,15 @@ impl FloatingSpace { win_height = ensure_min_max_size(win_height, min_size.h, max_size.h); win_height = max(1, win_height); - let win_width = win - .requested_size() - .map(|size| size.w) - // If we requested width = 0, then switch to the current width. - .filter(|w| *w != 0) - .unwrap_or_else(|| win.size().w); + let mut win_width = win.size_to_request().w; + // If we requested width = 0, then switch to the current width. + if win_width == 0 { + win_width = win.size().w; + } let win_width = ensure_min_max_size(win_width, min_size.w, max_size.w); let win_size = Size::from((win_width, win_height)); - win.request_size(win_size, animate, None); + win.request_size_once(win_size, animate); } fn focus_directional( diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 7378aa60..acc5257f 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -151,13 +151,24 @@ pub trait LayoutElement { self.render(renderer, location, scale, alpha, target).popups } + /// Requests the element to change its size. + /// + /// The size request is stored and will be continuously sent to the element on any further + /// state changes. fn request_size( &mut self, size: Size, animate: bool, transaction: Option, ); + + /// Requests the element to change size once, clearing the request afterwards. + fn request_size_once(&mut self, size: Size, animate: bool) { + self.request_size(size, animate, None); + } + fn request_fullscreen(&mut self, size: Size); + fn min_size(&self) -> Size; fn max_size(&self) -> Size; fn is_wl_surface(&self, wl_surface: &WlSurface) -> bool; @@ -186,6 +197,17 @@ pub trait LayoutElement { /// Size previously requested through [`LayoutElement::request_size()`]. fn requested_size(&self) -> Option>; + /// Size that we will request of this window. + /// + /// This can be different from [`requested_size()`](LayoutElement::requested_size()). For + /// example, for floating windows this will generally return the current window size, rather + /// than the last size that we requested, since we want floating windows to be able to change + /// size freely. But not always: if we just requested a floating window to resize and it hasn't + /// responded to it yet, this will return the newly requested size. + fn size_to_request(&self) -> Size { + self.requested_size().unwrap_or_else(|| self.size()) + } + fn is_child_of(&self, parent: &Self) -> bool; fn rules(&self) -> &ResolvedWindowRules; @@ -3255,10 +3277,12 @@ impl Layout { size.h = min_size.h; } - win.request_size(size, true, None); + win.request_size_once(size, true); // If we're unfullscreening to floating, default to the floating layout. is_floating = tile.unfullscreen_to_floating(); + } else { + win.request_size_once(win.size(), true); } let mut data = InteractiveMoveData { diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snap index 6b462613..212b9769 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snap index d5a2ac8e..17f5572f 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snap index b1c550b7..0bfaf328 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap index c8356791..6463aa33 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-spB2.snap @@ -11,3 +11,4 @@ initial configure: size: 0 × 0, bounds: 1920 × 1080, states: [] post-map configures: +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap index f0872d59..8006d099 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA1.snap @@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap index dedeb677..4d4ee570 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spA2.snap @@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap index d4e7c18f..d98206e6 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB1.snap @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap index f4f62cd7..ba99060e 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsAA-spB2.snap @@ -12,3 +12,4 @@ size: 0 × 0, bounds: 1920 × 1080, states: [] post-map configures: size: 0 × 0, bounds: 1920 × 1080, states: [] +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snap index b082a08f..153c8b76 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snap index cbd47630..56fc1a34 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snap index aca82f75..75df8df7 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snap index ec450c7d..e73a4c2f 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB1-spB2.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snap index 4677c233..6dfdd2b0 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 936 × 1048, bounds: 1888 × 1048, states: [] post-map configures: -size: 936 × 1048, bounds: 1920 × 1080, states: [] +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap index 1872c6ec..9592bb35 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 936 × 1048, bounds: 1888 × 1048, states: [] post-map configures: -size: 936 × 1048, bounds: 1920 × 1080, states: [] +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap index 361f9204..a8bf24ef 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB1.snap @@ -11,3 +11,4 @@ initial configure: size: 0 × 0, bounds: 1920 × 1080, states: [] post-map configures: +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap index 0f1d3456..5a7939a4 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsB2-spB2.snap @@ -11,3 +11,4 @@ initial configure: size: 0 × 0, bounds: 1920 × 1080, states: [] post-map configures: +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap index c415eade..adca2db0 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snap index 532e6415..37a173be 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snap index 353f1461..7266c78a 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap index 2ffef54d..0c497729 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBN-spB2.snap @@ -11,3 +11,4 @@ initial configure: size: 0 × 0, bounds: 1920 × 1080, states: [] post-map configures: +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snap index 891ed12c..bb2aa7a8 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snap index ed1fadb1..f9c342e6 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snap index 211f76da..5535f1af 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap index 5e33b8fe..ed0155e5 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsF-wfsBU-spB2.snap @@ -11,3 +11,4 @@ initial configure: size: 0 × 0, bounds: 1920 × 1080, states: [] post-map configures: +size: 1 × 1, bounds: 1920 × 1080, states: [] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap index dbcb70f1..e8a53953 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA1.snap @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap index 734218b9..5f068979 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spA2.snap @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap index be7991d7..94af9b36 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@fsT-wfsAA-spB1.snap @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snap index 2015e67f..6149dbf5 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snap index b8cef7a6..786d603f 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snap index f63053f9..b9f236a1 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snap index 40fb52e2..3df5631b 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-spB2.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap index 874b3974..f402883a 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA1.snap @@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap index 125fadd0..115f4e74 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spA2.snap @@ -12,4 +12,4 @@ size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap index 7b38201b..edb83da3 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB1.snap @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap index 0b17c779..1853b8f2 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsAA-spB2.snap @@ -12,4 +12,4 @@ size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snap index 108e5eec..8d0a29cb 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snap index eb0a83ee..1fba4328 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snap index 56781cb5..2138009a 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snap index ca8def34..a71294e3 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB1-spB2.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snap index ec341242..74debc5c 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snap index 62660010..df563d49 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snap index 36ef765c..51c57253 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snap index 0d861bcb..5700697b 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsB2-spB2.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snap index 2f4b12e1..26fde716 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snap index dba7ef74..1a80eb7b 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snap index 86d43899..a43288e2 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snap index 0c7b09ba..40b490f5 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBN-spB2.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snap index 2b9a0c7e..1b70b8ec 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snap index a361984c..96e4995d 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spA2.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snap index 0a36ff53..ed61a8b4 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB1.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snap index 396d97d6..46eb2adb 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsF-wfsBU-spB2.snap @@ -11,4 +11,4 @@ initial configure: size: 0 × 0, bounds: 1280 × 720, states: [] post-map configures: -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap index 5e2ed003..245d6712 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA1.snap @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap index 08bb2929..d26d382d 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spA2.snap @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1248 × 688, states: [Fullscreen] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap index 6396769d..7f1ec39d 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB1.snap @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap index ca10d9b2..e2b10554 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-fsT-wfsAA-spB2.snap @@ -12,4 +12,4 @@ size: 1280 × 720, bounds: 1280 × 720, states: [Fullscreen] post-map configures: size: 0 × 0, bounds: 1280 × 720, states: [] -size: 0 × 0, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snap b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snap index 8947ff8c..95fec783 100644 --- a/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snap +++ b/src/tests/snapshots/niri__tests__window_opening__check_target_output_and_workspace@out1-spA1.snap @@ -11,4 +11,4 @@ initial configure: size: 616 × 688, bounds: 1248 × 688, states: [] post-map configures: -size: 616 × 688, bounds: 1280 × 720, states: [Activated] +size: 1 × 1, bounds: 1280 × 720, states: [Activated] diff --git a/src/tests/snapshots/niri__tests__window_opening__check_targe