[Janitorial] Remove unused function
resetMaximize is done in changeMaximize since ages
This commit is contained in:
parent
99b233e2ed
commit
7b3ee21cd3
2 changed files with 0 additions and 19 deletions
1
client.h
1
client.h
|
@ -741,7 +741,6 @@ private:
|
||||||
void positionGeometryTip();
|
void positionGeometryTip();
|
||||||
void grabButton(int mod);
|
void grabButton(int mod);
|
||||||
void ungrabButton(int mod);
|
void ungrabButton(int mod);
|
||||||
void resetMaximize();
|
|
||||||
void resizeDecoration(const QSize& s);
|
void resizeDecoration(const QSize& s);
|
||||||
|
|
||||||
void pingWindow();
|
void pingWindow();
|
||||||
|
|
18
geometry.cpp
18
geometry.cpp
|
@ -2276,24 +2276,6 @@ void Client::changeMaximize(bool vertical, bool horizontal, bool adjust)
|
||||||
updateWindowRules(Rules::MaximizeVert|Rules::MaximizeHoriz|Rules::Position|Rules::Size);
|
updateWindowRules(Rules::MaximizeVert|Rules::MaximizeHoriz|Rules::Position|Rules::Size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::resetMaximize()
|
|
||||||
{
|
|
||||||
if (max_mode == MaximizeRestore)
|
|
||||||
return;
|
|
||||||
max_mode = MaximizeRestore;
|
|
||||||
Notify::raise(Notify::UnMaximize);
|
|
||||||
info->setState(0, NET::Max);
|
|
||||||
updateAllowedActions();
|
|
||||||
if (decoration != NULL)
|
|
||||||
decoration->borders(border_left, border_right, border_top, border_bottom);
|
|
||||||
if (isShade())
|
|
||||||
setGeometry(QRect(pos(), sizeForClientSize(clientSize())), ForceGeometrySet);
|
|
||||||
else
|
|
||||||
setGeometry(geometry(), ForceGeometrySet);
|
|
||||||
if (decoration != NULL)
|
|
||||||
decoration->maximizeChange();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Client::isFullScreenable(bool fullscreen_hack) const
|
bool Client::isFullScreenable(bool fullscreen_hack) const
|
||||||
{
|
{
|
||||||
if (!rules()->checkFullScreen(true))
|
if (!rules()->checkFullScreen(true))
|
||||||
|
|
Loading…
Reference in a new issue