From 9a15d1921f1bf35841dcd41d3ccea4bf62a54f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 8 Jul 2012 22:29:39 +0200 Subject: [PATCH] honor rule when updating deco presence for reshape CCBUG: 301909 REVIEW: 105485 --- client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index ec88d5ec44..09b0328587 100644 --- a/client.cpp +++ b/client.cpp @@ -815,7 +815,7 @@ void Client::updateShape() if (!app_noborder) { // Only when shape is detected for the first time, still let the user to override app_noborder = true; - noborder = true; + noborder = rules()->checkNoBorder(true); updateDecoration(true); } if (noBorder()) @@ -824,7 +824,7 @@ void Client::updateShape() } else if (app_noborder) { XShapeCombineMask(display(), frameId(), ShapeBounding, 0, 0, None, ShapeSet); detectNoBorder(); - app_noborder = noborder; + app_noborder = noborder = rules()->checkNoBorder(noborder); updateDecoration(true); }