Skip to content

Commit

Permalink
if
Browse files Browse the repository at this point in the history
  • Loading branch information
JassonCordones committed Sep 20, 2024
1 parent 8480758 commit 1d406ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xwayland/XSurface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ void CXWaylandSurface::restackToTop() {
auto& stack = g_pXWayland->pWM->mappedSurfacesStacking;
auto it = std::find(stack.begin(), stack.end(), self);

if (it != stack.end()) {
if (it != stack.end())
std::rotate(it, it + 1, stack.end());
}


g_pXWayland->pWM->updateClientList();

Expand Down

0 comments on commit 1d406ba

Please sign in to comment.