diff --git a/org.kde.KWin.xml b/org.kde.KWin.xml
index 160f94e406..a0b3a29e30 100644
--- a/org.kde.KWin.xml
+++ b/org.kde.KWin.xml
@@ -17,7 +17,6 @@
-
diff --git a/workspace.cpp b/workspace.cpp
index bae96c2658..0396dbe97c 100644
--- a/workspace.cpp
+++ b/workspace.cpp
@@ -1160,18 +1160,6 @@ bool Workspace::isNotManaged(const QString& title)
return false;
}
-/**
- * Refreshes all the client windows
- */
-void Workspace::refresh()
-{
- QWidget w(NULL, Qt::X11BypassWindowManagerHint);
- w.setGeometry(Kephal::ScreenUtils::desktopGeometry());
- w.show();
- w.hide();
- QApplication::flush();
-}
-
/**
* During virt. desktop switching, desktop areas covered by windows that are
* going to be hidden are first obscured by new windows with no background
diff --git a/workspace.h b/workspace.h
index 2e400ea891..9df435cebb 100644
--- a/workspace.h
+++ b/workspace.h
@@ -538,7 +538,6 @@ public:
public slots:
void addRepaintFull();
- void refresh();
// Keybindings
void slotSwitchDesktopNext();