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
This commit is contained in:
parent
1f3fd63790
commit
d2820bf05e
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue