diff options
Diffstat (limited to 'kwin')
-rw-r--r-- | kwin/client.cpp | 2 | ||||
-rw-r--r-- | kwin/geometry.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/kwin/client.cpp b/kwin/client.cpp index 0a7f71526..f7c2dad5e 100644 --- a/kwin/client.cpp +++ b/kwin/client.cpp @@ -1991,6 +1991,8 @@ void Client::takeFocus( allowed_t ) */ bool Client::providesContextHelp() const { + if (isModalSystemNotification()) + return false; return Pcontexthelp; } diff --git a/kwin/geometry.cpp b/kwin/geometry.cpp index 3751348db..dea566556 100644 --- a/kwin/geometry.cpp +++ b/kwin/geometry.cpp @@ -1688,6 +1688,8 @@ bool Client::isResizable() const */ bool Client::isMaximizable() const { + if( isModalSystemNotification()) + return false; { // isMovable() and isResizable() may be false for maximized windows // with moving/resizing maximized windows disabled TemporaryAssign< MaximizeMode > tmp( max_mode, MaximizeRestore ); |