[Janitorial] Remove unused function

resetMaximize is done in changeMaximize since ages
icc-effect-5.14.5
Thomas Lübking 2012-03-14 08:06:16 +01:00
parent 99b233e2ed
commit 7b3ee21cd3
2 changed files with 0 additions and 19 deletions

View File

@ -741,7 +741,6 @@ private:
void positionGeometryTip();
void grabButton(int mod);
void ungrabButton(int mod);
void resetMaximize();
void resizeDecoration(const QSize& s);
void pingWindow();

View File

@ -2276,24 +2276,6 @@ void Client::changeMaximize(bool vertical, bool horizontal, bool adjust)
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
{
if (!rules()->checkFullScreen(true))