Rename Workspace::removeAbstractClient() to Workspace::removeWindow()

This commit is contained in:
Vlad Zahorodnii 2022-05-18 12:49:31 +03:00 committed by Xaver Hugl
parent 06a9c686f1
commit bcbbbc561b
2 changed files with 4 additions and 4 deletions

View file

@ -731,7 +731,7 @@ void Workspace::removeX11Window(X11Window *window)
if (group != nullptr) {
group->lostLeader();
}
removeAbstractClient(window);
removeWindow(window);
}
void Workspace::removeUnmanaged(Unmanaged *window)
@ -799,10 +799,10 @@ void Workspace::addWaylandWindow(Window *window)
void Workspace::removeWaylandWindow(Window *window)
{
windowHidden(window);
removeAbstractClient(window);
removeWindow(window);
}
void Workspace::removeAbstractClient(Window *window)
void Workspace::removeWindow(Window *window)
{
if (window == m_activePopupWindow) {
closeActivePopup();

View file

@ -585,7 +585,7 @@ private:
void updateWindowVisibilityOnDesktopChange(VirtualDesktop *newDesktop);
void activateWindowOnNewDesktop(VirtualDesktop *desktop);
Window *findWindowToActivateOnDesktop(VirtualDesktop *desktop);
void removeAbstractClient(Window *client);
void removeWindow(Window *window);
struct Constraint
{