diff --git a/0001-fix-media-keys-Fix-sound-up-change-volume-normal-to-.patch b/0001-fix-media-keys-Fix-sound-up-change-volume-normal-to-.patch new file mode 100644 index 0000000000000000000000000000000000000000..0b633968a93e2f886ca19fd4e51a16fc997627ca --- /dev/null +++ b/0001-fix-media-keys-Fix-sound-up-change-volume-normal-to-.patch @@ -0,0 +1,31 @@ +From c7ea14902880d20fa454ac57ea4d0c9c582f829f Mon Sep 17 00:00:00 2001 +From: meizhigang +Date: Mon, 26 Jun 2023 13:50:15 +0800 +Subject: [PATCH] fix(media-keys):Fix sound up change volume normal to max +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + - 适配音量增大替换基准音量使用最大音量 + + Related #I7C0TD +--- + plugins/media-keys/msd-media-keys-manager.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c +index 79d9496..62690f3 100644 +--- a/plugins/media-keys/msd-media-keys-manager.c ++++ b/plugins/media-keys/msd-media-keys-manager.c +@@ -713,7 +713,7 @@ do_sound_action (MsdMediaKeysManager *manager, + /* Theoretically the volume limits might be different for different + * streams, also the minimum might not always start at 0 */ + volume_min = mate_mixer_stream_control_get_min_volume (control); +- volume_max = mate_mixer_stream_control_get_normal_volume (control); ++ volume_max = mate_mixer_stream_control_get_max_volume (control); + + volume_step = g_settings_get_int (manager->priv->settings, "volume-step"); + if (volume_step <= 0 || +-- +2.27.0 + diff --git a/mate-settings-daemon.spec b/mate-settings-daemon.spec index 708174f7ddb1004ee50e9d57cc7d48ef42e01038..164fe38eaaa6f07dbf6b81be337001067d6d30db 100644 --- a/mate-settings-daemon.spec +++ b/mate-settings-daemon.spec @@ -15,7 +15,7 @@ Name: mate-settings-daemon Version: %{branch}.0 %if 0%{?rel_build} -Release: 7 +Release: 8 %else Release: 0.10%{?git_rel} %endif @@ -43,6 +43,7 @@ Patch1004: 1004-fix-keybinding-add-some-media-key-translations-f605e267.pat Patch1005: 1005-fix-media-keys-add-the-case-of-kiran-screensaver-whi-cc8f2984.patch Patch1006: 0001-feature-backends-Compatible-wayland-framework-which-.patch Patch1007: 0001-fix-media-keys-Fix-grap-keys-while-set-capital-lette.patch +Patch1008: 0001-fix-media-keys-Fix-sound-up-change-volume-normal-to-.patch BuildRequires: dbus-glib-devel BuildRequires: dconf-devel @@ -140,6 +141,9 @@ desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/mate-settings-dae %changelog +* Mon Jun 26 2023 meizhigang - 1.22.0-8 +- KYOS-B: Fix sound up change volume normal to max (#I7C0TD) + * Fri Jun 09 2023 meizhigang - 1.22.0-7 - KYOS-B: Fix grap keys while set capital letters (#I7C0TD)