Drop Workspace::{oldDisplayWidth,oldDisplayHeight}
They're unused.
This commit is contained in:
parent
77bf51c3b5
commit
452bb20741
2 changed files with 0 additions and 15 deletions
|
@ -2427,9 +2427,7 @@ void Workspace::desktopResized()
|
||||||
|
|
||||||
void Workspace::saveOldScreenSizes()
|
void Workspace::saveOldScreenSizes()
|
||||||
{
|
{
|
||||||
olddisplaysize = m_geometry.size();
|
|
||||||
m_oldScreenGeometries.clear();
|
m_oldScreenGeometries.clear();
|
||||||
|
|
||||||
for (const Output *output : std::as_const(m_outputs)) {
|
for (const Output *output : std::as_const(m_outputs)) {
|
||||||
m_oldScreenGeometries.insert(output, output->geometry());
|
m_oldScreenGeometries.insert(output, output->geometry());
|
||||||
}
|
}
|
||||||
|
@ -2715,16 +2713,6 @@ QHash<const Output *, QRect> Workspace::previousScreenSizes() const
|
||||||
return m_oldScreenGeometries;
|
return m_oldScreenGeometries;
|
||||||
}
|
}
|
||||||
|
|
||||||
int Workspace::oldDisplayWidth() const
|
|
||||||
{
|
|
||||||
return olddisplaysize.width();
|
|
||||||
}
|
|
||||||
|
|
||||||
int Workspace::oldDisplayHeight() const
|
|
||||||
{
|
|
||||||
return olddisplaysize.height();
|
|
||||||
}
|
|
||||||
|
|
||||||
Output *Workspace::xineramaIndexToOutput(int index) const
|
Output *Workspace::xineramaIndexToOutput(int index) const
|
||||||
{
|
{
|
||||||
xcb_connection_t *connection = kwinApp()->x11Connection();
|
xcb_connection_t *connection = kwinApp()->x11Connection();
|
||||||
|
|
|
@ -306,8 +306,6 @@ public:
|
||||||
bool inUpdateClientArea() const;
|
bool inUpdateClientArea() const;
|
||||||
StrutRects previousRestrictedMoveArea(const VirtualDesktop *desktop, StrutAreas areas = StrutAreaAll) const;
|
StrutRects previousRestrictedMoveArea(const VirtualDesktop *desktop, StrutAreas areas = StrutAreaAll) const;
|
||||||
QHash<const Output *, QRect> previousScreenSizes() const;
|
QHash<const Output *, QRect> previousScreenSizes() const;
|
||||||
int oldDisplayWidth() const;
|
|
||||||
int oldDisplayHeight() const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the list of windows sorted in stacking order, with topmost window
|
* Returns the list of windows sorted in stacking order, with topmost window
|
||||||
|
@ -743,7 +741,6 @@ private:
|
||||||
QRect m_geometry;
|
QRect m_geometry;
|
||||||
|
|
||||||
QHash<const Output *, QRect> m_oldScreenGeometries;
|
QHash<const Output *, QRect> m_oldScreenGeometries;
|
||||||
QSize olddisplaysize; // previous sizes od displayWidth()/displayHeight()
|
|
||||||
QHash<const VirtualDesktop *, StrutRects> m_oldRestrictedAreas;
|
QHash<const VirtualDesktop *, StrutRects> m_oldRestrictedAreas;
|
||||||
bool m_inUpdateClientArea = false;
|
bool m_inUpdateClientArea = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue