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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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