From 5f2857590690eeb4159be8b090c96284600fd096 Mon Sep 17 00:00:00 2001 From: EMH-Mark-I Date: Mon, 18 Jan 2021 15:45:09 -0600 Subject: [PATCH] =?UTF-8?q?Addressing=20issue=20#158=20Since=20CSD=20windo?= =?UTF-8?q?w=20decorations=20are=20shared=20between=20both=20menus=20and?= =?UTF-8?q?=20application=20windows,=20the=20gtk-window.css=20file=20sets?= =?UTF-8?q?=20a=2010px=20border=20for=20CSD=20windows=20to=20improve=20the?= =?UTF-8?q?=20usability=20in=20resizing=20them,=20verses=20a=201px=20borde?= =?UTF-8?q?r=20which=20would=20require=20precision=20to=20trigger=20the=20?= =?UTF-8?q?resizer.=20For=20better=20or=20for=20worse,=20menu=20=E2=80=9Cd?= =?UTF-8?q?ecorations=E2=80=9D=20shouldn=E2=80=99t=20have=20been=20shared?= =?UTF-8?q?=20with=20window=20application=20=E2=80=9Cdecorations,=E2=80=9D?= =?UTF-8?q?=20but=20that=20is=20the=20spec=20for=20the=20toolkit=20so=20we?= =?UTF-8?q?=20have=20to=20make=20do=20with=20it.=20The=20excess=2010px=20b?= =?UTF-8?q?order=20intended=20for=20CSD=20application=20windows=20appear?= =?UTF-8?q?=20to=20interfere=20with=20context=20menus=20used=20in=20MATE?= =?UTF-8?q?=20panel=20plugins,=20causing=20the=20menu=20scrolling=20arrows?= =?UTF-8?q?=20(arrow=20up=20&=20arrow=20down)=20to=20appear.=20This=20comm?= =?UTF-8?q?it=20should=20patch=20this=20issue=20after=20testing=20with=20a?= =?UTF-8?q?=20Ubuntu=20MATE=2020.10=20VM.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Theme/Chicago95/gtk-3.0/apps/mate.css | 7 +++++++ .../gtk-3.0/assets/mate_menu_decoration.png | Bin 0 -> 184 bytes 2 files changed, 7 insertions(+) create mode 100644 Theme/Chicago95/gtk-3.0/assets/mate_menu_decoration.png diff --git a/Theme/Chicago95/gtk-3.0/apps/mate.css b/Theme/Chicago95/gtk-3.0/apps/mate.css index aeea158..f3f2ec5 100644 --- a/Theme/Chicago95/gtk-3.0/apps/mate.css +++ b/Theme/Chicago95/gtk-3.0/apps/mate.css @@ -182,6 +182,13 @@ PanelToplevel.background { border-bottom-color: @border_dark; background-color: @button_bg_color; box-shadow: inset -1px -1px @border_shade, inset 1px 1px @border_light; } + /* MATE context-menu window decoration */ + .mate-panel-menu-bar window decoration { + border: 2px solid @border_dark; + background-color: @bg_color; + border-image: url("../assets/mate_menu_decoration.png"); + border-image-slice: 2 2 2 2; + box-shadow: none; } /* Brisk Menu */ .brisk-menu { diff --git a/Theme/Chicago95/gtk-3.0/assets/mate_menu_decoration.png b/Theme/Chicago95/gtk-3.0/assets/mate_menu_decoration.png new file mode 100644 index 0000000000000000000000000000000000000000..81791a60f51170b55308e0ae4f75dd34120b334e GIT binary patch literal 184 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmP#qmU?%p8Ddgxj-RTPZ!4!i_>o>Zxm!u;5f4AxPpP! zVnfcw8Hvf-W@5|!$IQx~X{nKv#?i1!uK%uV0w;sgqL7O_pK$Mcz}xud_=*b+g~0}l YM*Uo8ERNTF1{%oV>FVdQ&MBb@0O%n%_y7O^ literal 0 HcmV?d00001