diff --git a/src/workspace.cpp b/src/workspace.cpp index 606b7ea..83d4f86 100644 --- a/src/workspace.cpp +++ b/src/workspace.cpp @@ -359,7 +359,7 @@ void Workspace::transfer_pinned_windows_to(std::shared_ptr 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