r54253 - in /desktop/unstable/gtk+3.0/debian: changelog patches/0001-Adwaita-Fix-typo-.backgrounf-.background.patch patches/0002-theme-Fix-Adwaita-headerbars.patch patches/0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch patches/series

jbicha at users.alioth.debian.org jbicha at users.alioth.debian.org
Wed Oct 4 21:18:23 UTC 2017


Author: jbicha
Date: Wed Oct  4 21:18:22 2017
New Revision: 54253

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=54253
Log:
Cherry-pick fixes committed after the 3.22.24 release

- 0001-Adwaita-Fix-typo-.backgrounf-.background.patch
- 0002-theme-Fix-Adwaita-headerbars.patch
- 0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch

Added:
    desktop/unstable/gtk+3.0/debian/patches/0001-Adwaita-Fix-typo-.backgrounf-.background.patch
    desktop/unstable/gtk+3.0/debian/patches/0002-theme-Fix-Adwaita-headerbars.patch
    desktop/unstable/gtk+3.0/debian/patches/0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch
Modified:
    desktop/unstable/gtk+3.0/debian/changelog
    desktop/unstable/gtk+3.0/debian/patches/series

Modified: desktop/unstable/gtk+3.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/changelog?rev=54253&op=diff
==============================================================================
--- desktop/unstable/gtk+3.0/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gtk+3.0/debian/changelog	[utf-8] Wed Oct  4 21:18:22 2017
@@ -1,6 +1,10 @@
 gtk+3.0 (3.22.24-1) UNRELEASED; urgency=medium
 
   * New upstream release (LP: #1712011)
+  * Cherry-pick fixes committed after the 3.22.24 release:
+    - 0001-Adwaita-Fix-typo-.backgrounf-.background.patch
+    - 0002-theme-Fix-Adwaita-headerbars.patch
+    - 0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch
 
  -- Jeremy Bicha <jbicha at debian.org>  Wed, 04 Oct 2017 15:46:33 -0400
 

Added: desktop/unstable/gtk+3.0/debian/patches/0001-Adwaita-Fix-typo-.backgrounf-.background.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/patches/0001-Adwaita-Fix-typo-.backgrounf-.background.patch?rev=54253&op=file
==============================================================================
--- desktop/unstable/gtk+3.0/debian/patches/0001-Adwaita-Fix-typo-.backgrounf-.background.patch	(added)
+++ desktop/unstable/gtk+3.0/debian/patches/0001-Adwaita-Fix-typo-.backgrounf-.background.patch	[utf-8] Wed Oct  4 21:18:22 2017
@@ -0,0 +1,53 @@
+From 77401118c21402e6a8438efb5659facecbb43413 Mon Sep 17 00:00:00 2001
+From: Daniel Boles <dboles at src.gnome.org>
+Date: Wed, 4 Oct 2017 15:42:18 +0100
+Subject: [PATCH 1/3] Adwaita: Fix typo .backgrounf => .background
+
+---
+ gtk/theme/Adwaita/_common.scss           | 2 +-
+ gtk/theme/Adwaita/gtk-contained-dark.css | 2 +-
+ gtk/theme/Adwaita/gtk-contained.css      | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
+index 274c0ce531..c4fb80c232 100644
+--- a/gtk/theme/Adwaita/_common.scss
++++ b/gtk/theme/Adwaita/_common.scss
+@@ -1658,7 +1658,7 @@ headerbar {
+ .background.tiled-bottom .titlebar,
+ .background.tiled-left .titlebar,
+ .background.maximized .titlebar,
+-.backgrounf.solid-csd .titlebar {
++.background.solid-csd .titlebar {
+   &:backdrop, & {
+     border-top-left-radius: 0;
+     border-top-right-radius: 0;
+diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
+index 82c4bac58e..0fc08f7a88 100644
+--- a/gtk/theme/Adwaita/gtk-contained-dark.css
++++ b/gtk/theme/Adwaita/gtk-contained-dark.css
+@@ -666,7 +666,7 @@ headerbar switch { margin-top: 9px; margin-bottom: 9px; }
+ 
+ .background .titlebar:backdrop, .background .titlebar { border-top-left-radius: 7px; border-top-right-radius: 7px; }
+ 
+-.background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop, .background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right .titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar, .background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized .titlebar:backdrop, .background.maximized .titlebar, .backgrounf.solid-csd .titlebar:backdrop, .backgrounf.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
++.background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop, .background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right .titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar, .background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized .titlebar:backdrop, .background.maximized .titlebar, .background.solid-csd .titlebar:backdrop, .background.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
+ 
+ window separator:first-child + headerbar:first-child:backdrop, window separator:first-child + headerbar:first-child, window separator:first-child + headerbar:last-child:backdrop, window separator:first-child + headerbar:last-child, window stack headerbar:first-child:backdrop, window stack headerbar:first-child, window stack headerbar:last-child:backdrop, window stack headerbar:last-child, headerbar:first-child:first-child:backdrop, headerbar:first-child:first-child, headerbar:first-child:last-child:backdrop, headerbar:first-child:last-child, headerbar:last-child:first-child:backdrop, headerbar:last-child:first-child, headerbar:last-child:last-child:backdrop, headerbar:last-child:last-child { border-top-left-radius: 7px; border-top-right-radius: 7px; }
+ 
+diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
+index 5409f53dd3..762fc03391 100644
+--- a/gtk/theme/Adwaita/gtk-contained.css
++++ b/gtk/theme/Adwaita/gtk-contained.css
+@@ -674,7 +674,7 @@ headerbar switch { margin-top: 9px; margin-bottom: 9px; }
+ 
+ .background .titlebar:backdrop, .background .titlebar { border-top-left-radius: 7px; border-top-right-radius: 7px; }
+ 
+-.background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop, .background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right .titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar, .background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized .titlebar:backdrop, .background.maximized .titlebar, .backgrounf.solid-csd .titlebar:backdrop, .backgrounf.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
++.background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop, .background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right .titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar, .background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized .titlebar:backdrop, .background.maximized .titlebar, .background.solid-csd .titlebar:backdrop, .background.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
+ 
+ window separator:first-child + headerbar:first-child:backdrop, window separator:first-child + headerbar:first-child, window separator:first-child + headerbar:last-child:backdrop, window separator:first-child + headerbar:last-child, window stack headerbar:first-child:backdrop, window stack headerbar:first-child, window stack headerbar:last-child:backdrop, window stack headerbar:last-child, headerbar:first-child:first-child:backdrop, headerbar:first-child:first-child, headerbar:first-child:last-child:backdrop, headerbar:first-child:last-child, headerbar:last-child:first-child:backdrop, headerbar:last-child:first-child, headerbar:last-child:last-child:backdrop, headerbar:last-child:last-child { border-top-left-radius: 7px; border-top-right-radius: 7px; }
+ 
+-- 
+2.14.1
+

Added: desktop/unstable/gtk+3.0/debian/patches/0002-theme-Fix-Adwaita-headerbars.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/patches/0002-theme-Fix-Adwaita-headerbars.patch?rev=54253&op=file
==============================================================================
--- desktop/unstable/gtk+3.0/debian/patches/0002-theme-Fix-Adwaita-headerbars.patch	(added)
+++ desktop/unstable/gtk+3.0/debian/patches/0002-theme-Fix-Adwaita-headerbars.patch	[utf-8] Wed Oct  4 21:18:22 2017
@@ -0,0 +1,146 @@
+From 7ab6dd64de6c4bfe4172629a99c301c1adfb51eb Mon Sep 17 00:00:00 2001
+From: Georges Basile Stavracas Neto <georges.stavracas at gmail.com>
+Date: Wed, 4 Oct 2017 14:46:02 -0300
+Subject: [PATCH 2/3] theme: Fix Adwaita headerbars
+
+We were not detecting correctly the cases where we should have
+a rounded or a squared headerbar.
+---
+ gtk/theme/Adwaita/_common.scss           | 32 ++++++++++++++++++--------------
+ gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++-------
+ gtk/theme/Adwaita/gtk-contained.css      | 14 +++++++-------
+ 3 files changed, 32 insertions(+), 28 deletions(-)
+
+diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
+index c4fb80c232..87a842d2ea 100644
+--- a/gtk/theme/Adwaita/_common.scss
++++ b/gtk/theme/Adwaita/_common.scss
+@@ -1590,6 +1590,9 @@ headerbar {
+   // squared corners when the window is maximized, tiled, or fullscreen
+   .tiled &,
+   .tiled-top &,
++  .tiled-right &,
++  .tiled-bottom &,
++  .tiled-left &,
+   .maximized &,
+   .fullscreen & {
+     &:backdrop, & {
+@@ -1597,14 +1600,6 @@ headerbar {
+     }
+   }
+ 
+-  .tiled-left & {
+-    border-top-left-radius: 0;
+-  }
+-
+-  .tiled-right & {
+-    border-top-right-radius: 0;
+-  }
+-
+   &.default-decoration {
+     min-height: 28px;
+     padding: 4px;
+@@ -1668,9 +1663,10 @@ headerbar {
+ headerbar { // headerbar border rounding
+ 
+   window separator:first-child + &,
+-  window stack &,
+-  &:first-child,
+-  &:last-child {
++  window &:first-child { &:backdrop, & { border-top-left-radius: 7px; }}
++  window &:last-child { &:backdrop, & { border-top-right-radius: 7px; }}
++
++  window stack & { // tackles the stacked headerbars case
+     &:first-child, &:last-child {
+       &:backdrop, & {
+         border-top-left-radius: 7px;
+@@ -1685,9 +1681,17 @@ headerbar { // headerbar border rounding
+   window.tiled-bottom &,
+   window.tiled-left &,
+   window.maximized &,
+-  window.fullscreen & {
+-    border-top-left-radius: 0;
+-    border-top-right-radius: 0;
++  window.fullscreen &,
++  window.solid-csd & {
++    &, &:backdrop {
++      &,
++      &:first-child,
++      &:last-child,
++      &:only-child {
++        border-top-left-radius: 0;
++        border-top-right-radius: 0;
++      }
++    }
+   }
+ }
+ 
+diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
+index 0fc08f7a88..f9a1d5df59 100644
+--- a/gtk/theme/Adwaita/gtk-contained-dark.css
++++ b/gtk/theme/Adwaita/gtk-contained-dark.css
+@@ -648,11 +648,7 @@ searchbar, .location-bar { border-width: 0 0 1px; padding: 3px; }
+ 
+ .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop .arrow, .selection-mode.titlebar:not(headerbar) .selection-menu .arrow, headerbar.selection-mode .selection-menu:backdrop .arrow, headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); color: rgba(255, 255, 255, 0.5); -gtk-icon-shadow: none; }
+ 
+-.tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar), .tiled-top .titlebar:backdrop:not(headerbar), .tiled-top .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .fullscreen .titlebar:backdrop:not(headerbar), .fullscreen .titlebar:not(headerbar), .tiled headerbar:backdrop, .tiled headerbar, .tiled-top headerbar:backdrop, .tiled-top headerbar, .maximized headerbar:backdrop, .maximized headerbar, .fullscreen headerbar:backdrop, .fullscreen headerbar { border-radius: 0; }
+-
+-.tiled-left .titlebar:not(headerbar), .tiled-left headerbar { border-top-left-radius: 0; }
+-
+-.tiled-right .titlebar:not(headerbar), .tiled-right headerbar { border-top-right-radius: 0; }
++.tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar), .tiled-top .titlebar:backdrop:not(headerbar), .tiled-top .titlebar:not(headerbar), .tiled-right .titlebar:backdrop:not(headerbar), .tiled-right .titlebar:not(headerbar), .tiled-bottom .titlebar:backdrop:not(headerbar), .tiled-bottom .titlebar:not(headerbar), .tiled-left .titlebar:backdrop:not(headerbar), .tiled-left .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .fullscreen .titlebar:backdrop:not(headerbar), .fullscreen .titlebar:not(headerbar), .tiled headerbar:backdrop, .tiled headerbar, .tiled-top headerbar:backdrop, .tiled-top headerbar, .tiled-right headerbar:backdrop, .tiled-right headerbar, .tiled-bottom headerbar:backdrop, .tiled-bottom headerbar, .tiled-left headerbar:backdrop, .tiled-left headerbar, .maximized headerbar:backdrop, .maximized headerbar, .fullscreen headerbar:backdrop, .fullscreen headerbar { border-radius: 0; }
+ 
+ .default-decoration.titlebar:not(headerbar), headerbar.default-decoration { min-height: 28px; padding: 4px; }
+ 
+@@ -668,9 +664,13 @@ headerbar switch { margin-top: 9px; margin-bottom: 9px; }
+ 
+ .background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop, .background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right .titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar, .background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized .titlebar:backdrop, .background.maximized .titlebar, .background.solid-csd .titlebar:backdrop, .background.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
+ 
+-window separator:first-child + headerbar:first-child:backdrop, window separator:first-child + headerbar:first-child, window separator:first-child + headerbar:last-child:backdrop, window separator:first-child + headerbar:last-child, window stack headerbar:first-child:backdrop, window stack headerbar:first-child, window stack headerbar:last-child:backdrop, window stack headerbar:last-child, headerbar:first-child:first-child:backdrop, headerbar:first-child:first-child, headerbar:first-child:last-child:backdrop, headerbar:first-child:last-child, headerbar:last-child:first-child:backdrop, headerbar:last-child:first-child, headerbar:last-child:last-child:backdrop, headerbar:last-child:last-child { border-top-left-radius: 7px; border-top-right-radius: 7px; }
++window separator:first-child + headerbar:backdrop, window separator:first-child + headerbar, window headerbar:first-child:backdrop, window headerbar:first-child { border-top-left-radius: 7px; }
++
++window headerbar:last-child:backdrop, window headerbar:last-child { border-top-right-radius: 7px; }
++
++window stack headerbar:first-child:backdrop, window stack headerbar:first-child, window stack headerbar:last-child:backdrop, window stack headerbar:last-child { border-top-left-radius: 7px; border-top-right-radius: 7px; }
+ 
+-window.tiled headerbar, window.tiled-top headerbar, window.tiled-right headerbar, window.tiled-bottom headerbar, window.tiled-left headerbar, window.maximized headerbar, window.fullscreen headerbar { border-top-left-radius: 0; border-top-right-radius: 0; }
++window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled headerbar:backdrop, window.tiled headerbar:backdrop:first-child, window.tiled headerbar:backdrop:last-child, window.tiled headerbar:backdrop:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-top headerbar:backdrop, window.tiled-top headerbar:backdrop:first-child, window.tiled-top headerbar:backdrop:last-child, window.tiled-top headerbar:backdrop:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-right headerbar:backdrop, window.tiled-right headerbar:backdrop:first-child, window.tiled-right headerbar:backdrop:last-child, window.tiled-right headerbar:backdrop:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-bottom headerbar:backdrop, window.tiled-bottom headerbar:backdrop:first-child, window.tiled-bottom headerbar:backdrop:last-child, window.tiled-bottom headerbar:backdrop:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.tiled-left headerbar:backdrop, window.tiled-left headerbar:backdrop:first-child, window.tiled-left headerbar:backdrop:last-child, window.tiled-left headerbar:backdrop:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.maximized headerbar:backdrop, window.maximized headerbar:backdrop:first-child, window.maximized headerbar:backdrop:last-child, window.maximized headerbar:backdrop:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.fullscreen headerbar:backdrop, window.fullscreen headerbar:backdrop:first-child, window.fullscreen headerbar:backdrop:last-child, window.fullscreen headerbar:backdrop:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child, window.solid-csd headerbar:backdrop, window.solid-csd headerbar:backdrop:first-child, window.solid-csd headerbar:backdrop:last-child, window.solid-csd headerbar:backdrop:only-child { border-top-left-radius: 0; border-top-right-radius: 0; }
+ 
+ window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none; border-style: none; border-color: transparent; box-shadow: none; }
+ 
+diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
+index 762fc03391..d2c8fafa78 100644
+--- a/gtk/theme/Adwaita/gtk-contained.css
++++ b/gtk/theme/Adwaita/gtk-contained.css
+@@ -656,11 +656,7 @@ searchbar, .location-bar { border-width: 0 0 1px; padding: 3px; }
+ 
+ .selection-mode.titlebar:not(headerbar) .selection-menu:backdrop .arrow, .selection-mode.titlebar:not(headerbar) .selection-menu .arrow, headerbar.selection-mode .selection-menu:backdrop .arrow, headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); color: rgba(255, 255, 255, 0.5); -gtk-icon-shadow: none; }
+ 
+-.tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar), .tiled-top .titlebar:backdrop:not(headerbar), .tiled-top .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .fullscreen .titlebar:backdrop:not(headerbar), .fullscreen .titlebar:not(headerbar), .tiled headerbar:backdrop, .tiled headerbar, .tiled-top headerbar:backdrop, .tiled-top headerbar, .maximized headerbar:backdrop, .maximized headerbar, .fullscreen headerbar:backdrop, .fullscreen headerbar { border-radius: 0; }
+-
+-.tiled-left .titlebar:not(headerbar), .tiled-left headerbar { border-top-left-radius: 0; }
+-
+-.tiled-right .titlebar:not(headerbar), .tiled-right headerbar { border-top-right-radius: 0; }
++.tiled .titlebar:backdrop:not(headerbar), .tiled .titlebar:not(headerbar), .tiled-top .titlebar:backdrop:not(headerbar), .tiled-top .titlebar:not(headerbar), .tiled-right .titlebar:backdrop:not(headerbar), .tiled-right .titlebar:not(headerbar), .tiled-bottom .titlebar:backdrop:not(headerbar), .tiled-bottom .titlebar:not(headerbar), .tiled-left .titlebar:backdrop:not(headerbar), .tiled-left .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .fullscreen .titlebar:backdrop:not(headerbar), .fullscreen .titlebar:not(headerbar), .tiled headerbar:backdrop, .tiled headerbar, .tiled-top headerbar:backdrop, .tiled-top headerbar, .tiled-right headerbar:backdrop, .tiled-right headerbar, .tiled-bottom headerbar:backdrop, .tiled-bottom headerbar, .tiled-left headerbar:backdrop, .tiled-left headerbar, .maximized headerbar:backdrop, .maximized headerbar, .fullscreen headerbar:backdrop, .fullscreen headerbar { border-radius: 0; }
+ 
+ .default-decoration.titlebar:not(headerbar), headerbar.default-decoration { min-height: 28px; padding: 4px; }
+ 
+@@ -676,9 +672,13 @@ headerbar switch { margin-top: 9px; margin-bottom: 9px; }
+ 
+ .background.tiled .titlebar:backdrop, .background.tiled .titlebar, .background.tiled-top .titlebar:backdrop, .background.tiled-top .titlebar, .background.tiled-right .titlebar:backdrop, .background.tiled-right .titlebar, .background.tiled-bottom .titlebar:backdrop, .background.tiled-bottom .titlebar, .background.tiled-left .titlebar:backdrop, .background.tiled-left .titlebar, .background.maximized .titlebar:backdrop, .background.maximized .titlebar, .background.solid-csd .titlebar:backdrop, .background.solid-csd .titlebar { border-top-left-radius: 0; border-top-right-radius: 0; }
+ 
+-window separator:first-child + headerbar:first-child:backdrop, window separator:first-child + headerbar:first-child, window separator:first-child + headerbar:last-child:backdrop, window separator:first-child + headerbar:last-child, window stack headerbar:first-child:backdrop, window stack headerbar:first-child, window stack headerbar:last-child:backdrop, window stack headerbar:last-child, headerbar:first-child:first-child:backdrop, headerbar:first-child:first-child, headerbar:first-child:last-child:backdrop, headerbar:first-child:last-child, headerbar:last-child:first-child:backdrop, headerbar:last-child:first-child, headerbar:last-child:last-child:backdrop, headerbar:last-child:last-child { border-top-left-radius: 7px; border-top-right-radius: 7px; }
++window separator:first-child + headerbar:backdrop, window separator:first-child + headerbar, window headerbar:first-child:backdrop, window headerbar:first-child { border-top-left-radius: 7px; }
++
++window headerbar:last-child:backdrop, window headerbar:last-child { border-top-right-radius: 7px; }
++
++window stack headerbar:first-child:backdrop, window stack headerbar:first-child, window stack headerbar:last-child:backdrop, window stack headerbar:last-child { border-top-left-radius: 7px; border-top-right-radius: 7px; }
+ 
+-window.tiled headerbar, window.tiled-top headerbar, window.tiled-right headerbar, window.tiled-bottom headerbar, window.tiled-left headerbar, window.maximized headerbar, window.fullscreen headerbar { border-top-left-radius: 0; border-top-right-radius: 0; }
++window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerbar:last-child, window.tiled headerbar:only-child, window.tiled headerbar:backdrop, window.tiled headerbar:backdrop:first-child, window.tiled headerbar:backdrop:last-child, window.tiled headerbar:backdrop:only-child, window.tiled-top headerbar, window.tiled-top headerbar:first-child, window.tiled-top headerbar:last-child, window.tiled-top headerbar:only-child, window.tiled-top headerbar:backdrop, window.tiled-top headerbar:backdrop:first-child, window.tiled-top headerbar:backdrop:last-child, window.tiled-top headerbar:backdrop:only-child, window.tiled-right headerbar, window.tiled-right headerbar:first-child, window.tiled-right headerbar:last-child, window.tiled-right headerbar:only-child, window.tiled-right headerbar:backdrop, window.tiled-right headerbar:backdrop:first-child, window.tiled-right headerbar:backdrop:last-child, window.tiled-right headerbar:backdrop:only-child, window.tiled-bottom headerbar, window.tiled-bottom headerbar:first-child, window.tiled-bottom headerbar:last-child, window.tiled-bottom headerbar:only-child, window.tiled-bottom headerbar:backdrop, window.tiled-bottom headerbar:backdrop:first-child, window.tiled-bottom headerbar:backdrop:last-child, window.tiled-bottom headerbar:backdrop:only-child, window.tiled-left headerbar, window.tiled-left headerbar:first-child, window.tiled-left headerbar:last-child, window.tiled-left headerbar:only-child, window.tiled-left headerbar:backdrop, window.tiled-left headerbar:backdrop:first-child, window.tiled-left headerbar:backdrop:last-child, window.tiled-left headerbar:backdrop:only-child, window.maximized headerbar, window.maximized headerbar:first-child, window.maximized headerbar:last-child, window.maximized headerbar:only-child, window.maximized headerbar:backdrop, window.maximized headerbar:backdrop:first-child, window.maximized headerbar:backdrop:last-child, window.maximized headerbar:backdrop:only-child, window.fullscreen headerbar, window.fullscreen headerbar:first-child, window.fullscreen headerbar:last-child, window.fullscreen headerbar:only-child, window.fullscreen headerbar:backdrop, window.fullscreen headerbar:backdrop:first-child, window.fullscreen headerbar:backdrop:last-child, window.fullscreen headerbar:backdrop:only-child, window.solid-csd headerbar, window.solid-csd headerbar:first-child, window.solid-csd headerbar:last-child, window.solid-csd headerbar:only-child, window.solid-csd headerbar:backdrop, window.solid-csd headerbar:backdrop:first-child, window.solid-csd headerbar:backdrop:last-child, window.solid-csd headerbar:backdrop:only-child { border-top-left-radius: 0; border-top-right-radius: 0; }
+ 
+ window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none; border-style: none; border-color: transparent; box-shadow: none; }
+ 
+-- 
+2.14.1
+

Added: desktop/unstable/gtk+3.0/debian/patches/0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/patches/0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch?rev=54253&op=file
==============================================================================
--- desktop/unstable/gtk+3.0/debian/patches/0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch	(added)
+++ desktop/unstable/gtk+3.0/debian/patches/0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch	[utf-8] Wed Oct  4 21:18:22 2017
@@ -0,0 +1,40 @@
+From 73155e39880a6499fa9ef913138a7d3dce5d003b Mon Sep 17 00:00:00 2001
+From: Georges Basile Stavracas Neto <georges.stavracas at gmail.com>
+Date: Wed, 4 Oct 2017 15:33:15 -0300
+Subject: [PATCH 3/3] display-x11: Unset tiled state if _GTK_EDGE_CONSTRAINTS
+ is supported
+
+Commit c415bef5de introduced support for the new _GTK_EDGE_CONSTRAINTS
+atom. If the compositor supports that atom, however, we were always
+setting the tiled state, even if no actual tiling information is
+available, where the correct action is to completely remove any traces
+of the tiled state.
+
+Fix that by correctly removing the tiled state when compositor supports
+_GTK_EDGE_CONSTRAINTS Xatom.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=788516
+---
+ gdk/x11/gdkdisplay-x11.c | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
+index e9a263f23d..964edbccae 100644
+--- a/gdk/x11/gdkdisplay-x11.c
++++ b/gdk/x11/gdkdisplay-x11.c
+@@ -228,10 +228,8 @@ do_edge_constraint_state_check (GdkWindow      *window,
+     }
+   else
+     {
+-      if (!(old_state & GDK_WINDOW_STATE_TILED))
+-        {
+-          local_set |= GDK_WINDOW_STATE_TILED;
+-        }
++      if (old_state & GDK_WINDOW_STATE_TILED)
++        local_unset |= GDK_WINDOW_STATE_TILED;
+     }
+ 
+   /* Top edge */
+-- 
+2.14.1
+

Modified: desktop/unstable/gtk+3.0/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B3.0/debian/patches/series?rev=54253&op=diff
==============================================================================
--- desktop/unstable/gtk+3.0/debian/patches/series	[utf-8] (original)
+++ desktop/unstable/gtk+3.0/debian/patches/series	[utf-8] Wed Oct  4 21:18:22 2017
@@ -6,3 +6,6 @@
 no-accessibility-dump.patch
 reftest-known-fail.patch
 gdk-x11-Check-if-we-have-access-to-GL-before-using-G.patch
+0001-Adwaita-Fix-typo-.backgrounf-.background.patch
+0002-theme-Fix-Adwaita-headerbars.patch
+0003-display-x11-Unset-tiled-state-if-_GTK_EDGE_CONSTRAIN.patch




More information about the pkg-gnome-commits mailing list