Commit df614e21 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Delete some redundant checks

Summary: sizeForClientSize checks the minimum and the maximum size.

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 2e453c31
......@@ -320,13 +320,6 @@ bool X11Client::manage(xcb_window_t w, bool isMapped)
if (m_geometryHints.hasMaxSize())
if (m_geometryHints.hasMinSize())
if (isMovable() && (geom.x() > area.right() || geom.y() > area.bottom()))
placementDone = false; // Weird, do not trust.
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