Skip to content

Commit

Permalink
fix changeWindowZOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
Aqa-Ib committed Nov 16, 2024
1 parent cf18eca commit e7f3e08
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Compositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1389,9 +1389,6 @@ void CCompositor::changeWindowZOrder(PHLWINDOW pWindow, bool top) {
if (!validMapped(pWindow))
return;

if (pWindow == (top ? m_vWindows.back() : m_vWindows.front()))
return;

auto moveToZ = [&](PHLWINDOW pw, bool top) -> void {
if (top) {
for (auto it = m_vWindows.begin(); it != m_vWindows.end(); ++it) {
Expand Down

0 comments on commit e7f3e08

Please sign in to comment.