Skip to content

Commit

Permalink
fix unpinning window to new workspace (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
TibboddiT authored Nov 4, 2024
1 parent ce24996 commit 495fd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ void Workspace::transfer_pinned_windows_to(std::shared_ptr<Workspace> const& oth
auto floating = Container::as_floating(container);
if (floating && floating->pinned())
{
other->floating_windows.push_back(floating);
other->graft(floating);
it = floating_windows.erase(it);
}
else
Expand Down

0 comments on commit 495fd35

Please sign in to comment.