From e85dae70f54a1c29a30dc18205bbb6f58aae6d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 6 Oct 2003 11:31:43 +0000 Subject: [PATCH] Don't allow turning off the border while shaded. svn path=/trunk/kdebase/kwin/; revision=256709 --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index f15c5b0240..176b2c9f5e 100644 --- a/client.cpp +++ b/client.cpp @@ -379,7 +379,7 @@ bool Client::noBorder() const bool Client::userCanSetNoBorder() const { - return !noborder && !isFullScreen(); + return !noborder && !isFullScreen() && !isShade(); } bool Client::isUserNoBorder() const