win32 theme: Fix popup window decorations

Windows such as combobox's popup were using toplevel window's borders

https://bugzilla.gnome.org/show_bug.cgi?id=773221
This commit is contained in:
Jaime Velasco Juan
2016-10-14 10:49:55 +01:00
committed by Benjamin Otte
parent c46c744529
commit d47d342012

View File

@@ -123,6 +123,12 @@ decoration {
background-position: top, bottom, left, right;
background-repeat: no-repeat;
}
/* Unset above settings when the window is a popup menu */
* window decoration {
all: unset;
}
.titlebar {
margin: calc(0px - -gtk-win32-size(window, cyframe) - -gtk-win32-size(window, cxpaddedborder))
calc(0px - -gtk-win32-size(window, cxframe) - -gtk-win32-size(window, cxpaddedborder));