diff options
author | Jaime Velasco Juan <jsagarribay@gmail.com> | 2016-10-14 10:49:55 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-26 16:25:49 +0200 |
commit | 1f340882e20281d2fa337a6a8979998a791e7ba4 (patch) | |
tree | 8f53842b3bad59d50a2ce922c27caf6c0ddde0cb /gtk/theme/win32 | |
parent | 5c6dda0459e7e4fe3c3136c2cff0ec98209b50b7 (diff) | |
download | gtk+-1f340882e20281d2fa337a6a8979998a791e7ba4.tar.gz |
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
Diffstat (limited to 'gtk/theme/win32')
-rw-r--r-- | gtk/theme/win32/gtk.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/theme/win32/gtk.css b/gtk/theme/win32/gtk.css index dd0f2547a2..b9384b7699 100644 --- a/gtk/theme/win32/gtk.css +++ b/gtk/theme/win32/gtk.css @@ -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)); |