summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-base/kwin/files/kwin-4.11.10-hidewindow.patch')
-rw-r--r--kde-base/kwin/files/kwin-4.11.10-hidewindow.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/kde-base/kwin/files/kwin-4.11.10-hidewindow.patch b/kde-base/kwin/files/kwin-4.11.10-hidewindow.patch
deleted file mode 100644
index e5db9a06335d..000000000000
--- a/kde-base/kwin/files/kwin-4.11.10-hidewindow.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 4b4a7c752ae305c168b0a3e89ad2f49c54cadd5d Mon Sep 17 00:00:00 2001
-From: Hugo Pereira Da Costa <hugo.pereira@free.fr>
-Date: Thu, 12 Jun 2014 14:56:20 +0200
-Subject: [PATCH] Properly set titleHeight to zero when hideTitleBar is
- selected. CCBUG: 336128
-
----
- kwin/clients/oxygen/oxygenclient.cpp | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/kwin/clients/oxygen/oxygenclient.cpp b/kwin/clients/oxygen/oxygenclient.cpp
-index a7d8d7a..ebc0274 100644
---- a/kwin/clients/oxygen/oxygenclient.cpp
-+++ b/kwin/clients/oxygen/oxygenclient.cpp
-@@ -394,8 +394,11 @@ namespace Oxygen
-
- case LM_TitleHeight:
- {
-- const int titleHeight = QFontMetrics(options()->font(true)).height();
-- return qMax(buttonSize, titleHeight);
-+ if( hideTitleBar() ) return 0;
-+ else {
-+ const int titleHeight = QFontMetrics(options()->font(true)).height();
-+ return qMax(buttonSize, titleHeight);
-+ }
- }
-
- case LM_ButtonSpacing:
---
-1.8.5.5
-