Commit 793eecc8 authored by Martin Flöser's avatar Martin Flöser

Fix compile warnings after removing ObscurringWindows

parent d75e5c63
......@@ -873,7 +873,7 @@ void Workspace::slotCurrentDesktopChanged(uint oldDesktop, uint newDesktop)
closeActivePopup();
++block_focus;
StackingUpdatesBlocker blocker(this);
updateClientVisibilityOnDesktopChange(oldDesktop, newDesktop);
updateClientVisibilityOnDesktopChange(newDesktop);
// Restore the focus on this desktop
--block_focus;
......@@ -881,7 +881,7 @@ void Workspace::slotCurrentDesktopChanged(uint oldDesktop, uint newDesktop)
emit currentDesktopChanged(oldDesktop, movingClient);
}
void Workspace::updateClientVisibilityOnDesktopChange(uint oldDesktop, uint newDesktop)
void Workspace::updateClientVisibilityOnDesktopChange(uint newDesktop)
{
for (ToplevelList::ConstIterator it = stacking_order.constBegin();
it != stacking_order.constEnd();
......@@ -994,8 +994,6 @@ void Workspace::updateCurrentActivity(const QString &new_activity)
// mapping done from front to back => less exposure events
//Notify::raise((Notify::Event) (Notify::DesktopChange+new_desktop));
const QString &old_activity = Activities::self()->previous();
for (ToplevelList::ConstIterator it = stacking_order.constBegin();
it != stacking_order.constEnd();
++it) {
......
......@@ -527,7 +527,7 @@ private:
void closeActivePopup();
void updateClientArea(bool force);
void resetClientAreas(uint desktopCount);
void updateClientVisibilityOnDesktopChange(uint oldDesktop, uint newDesktop);
void updateClientVisibilityOnDesktopChange(uint newDesktop);
void activateClientOnNewDesktop(uint desktop);
AbstractClient *findClientToActivateOnDesktop(uint desktop);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment