Drop refresh method on D-Bus interface
The method is nowhere inside KWin called, nor used as a slot. It's also not used from any of the KCMs and the method does not do what the name says. It just shows and hides a window as big as the screen geometry. REVIEW: 104418
This commit is contained in:
parent
c16550f728
commit
a0c6f70a0e
3 changed files with 0 additions and 14 deletions
|
@ -17,7 +17,6 @@
|
||||||
<method name="toggleCompositing">
|
<method name="toggleCompositing">
|
||||||
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
|
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
|
||||||
</method>
|
</method>
|
||||||
<method name="refresh"/>
|
|
||||||
<method name="doNotManage">
|
<method name="doNotManage">
|
||||||
<arg name="name" type="s" direction="in"/>
|
<arg name="name" type="s" direction="in"/>
|
||||||
</method>
|
</method>
|
||||||
|
|
|
@ -1160,18 +1160,6 @@ bool Workspace::isNotManaged(const QString& title)
|
||||||
return false;
|
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
|
* During virt. desktop switching, desktop areas covered by windows that are
|
||||||
* going to be hidden are first obscured by new windows with no background
|
* going to be hidden are first obscured by new windows with no background
|
||||||
|
|
|
@ -538,7 +538,6 @@ public:
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void addRepaintFull();
|
void addRepaintFull();
|
||||||
void refresh();
|
|
||||||
|
|
||||||
// Keybindings
|
// Keybindings
|
||||||
void slotSwitchDesktopNext();
|
void slotSwitchDesktopNext();
|
||||||
|
|
Loading…
Reference in a new issue