Fix cycleprev bug introduced in 46891b12cf (#1213) (#1242)

This commit is contained in:
Julian Schuler
2022-12-17 15:37:10 +01:00
committed by GitHub
parent 99ca1ad353
commit 11ba6afdd3

View File

@@ -793,7 +793,7 @@ std::any CHyprMasterLayout::layoutMessage(SLayoutMessageHeader header, std::stri
const bool inheritFullscreen = prepareLoseFocus(PWINDOW);
const auto PPREVWINDOW = getNextWindow(PWINDOW, true);
const auto PPREVWINDOW = getNextWindow(PWINDOW, false);
switchToWindow(PPREVWINDOW);
prepareNewFocus(PPREVWINDOW, inheritFullscreen);
} else if (message == "swapnext") {