From b62e6eb0d4c0b4fb46da77ef2ca7129269561dc8 Mon Sep 17 00:00:00 2001 From: Khurshid Alam Date: Tue, 12 Apr 2016 21:00:14 +0530 Subject: [PATCH] Gtk-3.18: Remove white margin for CSD apps under Unity. Fixes #281 Ideally I would like to change window frame backdrop color as well, but for now it works. It is probably going to break old metacity session, but we don't really support metacity. --- gtk-3.0/scss/widgets/_window.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk-3.0/scss/widgets/_window.scss b/gtk-3.0/scss/widgets/_window.scss index f609010..7e965b8 100755 --- a/gtk-3.0/scss/widgets/_window.scss +++ b/gtk-3.0/scss/widgets/_window.scss @@ -18,16 +18,16 @@ border: 0; border-radius: $roundness $roundness 0 0; - + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); /* this is used for the resize cursor area */ margin: $spacing * 3; &.tiled { border-radius: 0; } &.solid-csd { - border-radius: 0; + border-radius: $roundness $roundness 0 0; margin: 1px; - background-color: $bg_color; + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); box-shadow: none; }