Commit d2820bf0 authored by Marco Martin's avatar Marco Martin

Don't try to resize desktop or fullscreen windows

Summary: those windows should always take all the space no matter what

Test Plan: text areas on desktop or fullscreen windows don't cause resizes anymore

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D19922
parent 1f3fd637
......@@ -1902,6 +1902,11 @@ void AbstractClient::setVirtualKeyboardGeometry(const QRect &geo)
m_virtualKeyboardGeometry = geo;
// Don't resize Desktop and fullscreen windows
if (isFullScreen() || isDesktop()) {
return;
}
if (!geo.intersects(m_keyboardGeometryRestore)) {
return;
}
......
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