diff --git a/metacity-shielding-close-window.patch b/metacity-shielding-close-window.patch new file mode 100644 index 0000000000000000000000000000000000000000..c77d445d7efc051c54b90e9a24b2bebf1fc39003 --- /dev/null +++ b/metacity-shielding-close-window.patch @@ -0,0 +1,25 @@ +From cee3c01bcb89c879bbe621103c6c2b093841850e Mon Sep 17 00:00:00 2001 +From: liyuanyuan +Date: Thu, 15 Dec 2022 16:00:42 +0800 +Subject: [PATCH] shielding close window + +--- + src/ui/frames.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/ui/frames.c b/src/ui/frames.c +index 35237cd..89a1a5f 100644 +--- a/src/ui/frames.c ++++ b/src/ui/frames.c +@@ -1252,7 +1252,6 @@ show_tip_now (MetaFrames *frames) + case META_FRAME_CONTROL_TITLE: + break; + case META_FRAME_CONTROL_DELETE: +- tiptext = _("Close Window"); + break; + case META_FRAME_CONTROL_MENU: + tiptext = _("Window Menu"); +-- +2.27.0 + + diff --git a/metacity.spec b/metacity.spec index 3671cde5ed6ffb14655ca0a531ff3bd8b35a61b4..cf8a3e5a54fa3ceaf5adfab3dcfbc629e38b44e5 100644 --- a/metacity.spec +++ b/metacity.spec @@ -1,6 +1,6 @@ Name: metacity Version: 3.37.1 -Release: 3 +Release: 4 Summary: Window Manager for the MATE and GNOME Flashback desktops License: GPLv2+ URL: https://download.gnome.org/sources/metacity/ @@ -21,6 +21,7 @@ BuildRequires: pkgconfig(xdamage) pkgconfig(xrender) pkgconfig(xcursor) pkgconf Requires: startup-notification gsettings-desktop-schemas zenity Provides: firstboot(windowmanager) = metacity +Patch1: metacity-shielding-close-window.patch %if !0%{?openEuler} Patch9000: huawei-remove-XResQueryClientIds-to-get-pid.patch %endif @@ -86,6 +87,11 @@ make CPPFLAGS="$CPPFLAGS" LIBS="$LIBS" %{?_smp_mflags} %{_mandir}/man1/*.gz %changelog +* Tue Dec 20 2022 xuxinyu - 3.37.1-4 +- Type:bugfix +- CVE:N/A +- DESC:shielding close window + * Fri Apr 1 2022 wuchaochao - 3.37.1-3 - remove XResQueryClientIds to get pid and remove BuildRequires:vulkan-devel