Delete some commented code

Summary:
This code has been commented for more than a decade. Given that no any
useful comment is provided along the commented code, it's difficult to
say what exactly we need to fix. From the other side, the commented
code does nothing.

Reviewers: #kwin, romangg

Reviewed By: #kwin, romangg

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D24472
This commit is contained in:
Vlad Zahorodnii 2019-10-07 18:33:33 +03:00
parent e4d470e08b
commit 2e453c31dc

View file

@ -319,11 +319,6 @@ bool X11Client::manage(xcb_window_t w, bool isMapped)
area = workspace()->clientArea(PlacementArea, geom.center(), desktop());
}
}
//if ( true ) // Size is always obeyed for now, only with constraints applied
// if (( xSizeHint.flags & USSize ) || ( xSizeHint.flags & PSize ))
// {
// // Keep in mind that we now actually have a size :-)
// }
if (m_geometryHints.hasMaxSize())
geom.setSize(geom.size().boundedTo(