Skip to content
Commit cc98001d authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Use move resize geometry in AbstractClient::applyWindowRules()

Abstract clients tolerate passing the shaded window geometry to
moveResize().

But the main issue with applyWindowRules() is that it uses the current
frame geometry even though it calls moveResize(). It's not a big deal
but it's error prone.

This change ports applyWindowRules() to the move resize geometry, which
makes code more straightforward and ensures that kwin uses right
geometry type with moveResize().
parent 368bbde1
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