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 5c6dda0459
commit 1f340882e2

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));