Commit 2e453c31 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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
parent e4d470e0
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment