fix(media-keys):Fix sound up change volume normal to max
- 适配音量增大替换基准音量使用最大音量 Related #I7C0TD
This commit is contained in:
parent
6552305ae2
commit
c0442a21d8
@ -0,0 +1,31 @@
|
||||
From c7ea14902880d20fa454ac57ea4d0c9c582f829f Mon Sep 17 00:00:00 2001
|
||||
From: meizhigang <meizhigang@kylinsec.com.cn>
|
||||
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
|
||||
|
||||
@ -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 <meizhigang@kylinsec.com.cn> - 1.22.0-8
|
||||
- KYOS-B: Fix sound up change volume normal to max (#I7C0TD)
|
||||
|
||||
* Fri Jun 09 2023 meizhigang <meizhigang@kylinsec.com.cn> - 1.22.0-7
|
||||
- KYOS-B: Fix grap keys while set capital letters (#I7C0TD)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user