!13 兼容有xwayland模块下的wayland框架

From: @kylinsecos_admin 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2023-02-07 12:19:35 +00:00 committed by Gitee
commit 750e538860
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 172e3957a211ba47a60afee7ada2a15535228c96 Mon Sep 17 00:00:00 2001
From: kylinsecos_admin <gitee@kylinos.com.cn>
Date: Tue, 7 Feb 2023 19:36:48 +0800
Subject: [PATCH] feature(backends): Compatible wayland framework which exists
xwayland.
Signed-off-by: kylinsecos_admin <gitee@kylinos.com.cn>
---
src/daemon/mnd-daemon.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/daemon/mnd-daemon.c b/src/daemon/mnd-daemon.c
index bcb28af..909e418 100644
--- a/src/daemon/mnd-daemon.c
+++ b/src/daemon/mnd-daemon.c
@@ -78,6 +78,8 @@ int main (int argc, char *argv[])
{
NotifyDaemon *daemon;
+ gdk_set_allowed_backends("x11");
+
gtk_init(&argc, &argv);
if (!parse_arguments (&argc, &argv))
--
2.36.1

View File

@ -15,7 +15,7 @@
Name: mate-notification-daemon Name: mate-notification-daemon
Version: %{branch}.1 Version: %{branch}.1
%if 0%{?rel_build} %if 0%{?rel_build}
Release: 4 Release: 5
%else %else
Release: 0.13%{?git_rel} Release: 0.13%{?git_rel}
%endif %endif
@ -47,6 +47,7 @@ Patch1015: 1015-fix-css-modify-css-error-and-improve-style-of-kiran-0ee639d
Patch1016: 1016-fix-control-center-fix-mate-notification-properties--5dc16c41.patch Patch1016: 1016-fix-control-center-fix-mate-notification-properties--5dc16c41.patch
Patch1017: 1017-fix-daemon-return-false-while-dbus-proxy-init-failed.patch Patch1017: 1017-fix-daemon-return-false-while-dbus-proxy-init-failed.patch
Patch1018: 0001-fix-kiran-remove-pie-draw-in-kiran.patch Patch1018: 0001-fix-kiran-remove-pie-draw-in-kiran.patch
Patch1019: 0001-feature-backends-Compatible-wayland-framework-which-.patch
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: libcanberra-devel BuildRequires: libcanberra-devel
@ -111,6 +112,9 @@ rm -f %{buildroot}%{_datadir}/applications/mate-notification-daemon.desktop
%changelog %changelog
* Tue Feb 07 2023 tangjie02 <tangjie02@kylinsec.com.cn> - 1.22.1-5
- Compatible wayland framework which exists xwayland.
* Tue Jun 10 2023 yuanxing <yuanxing@kylinsec.com.cn> - 1.22.1-4 * Tue Jun 10 2023 yuanxing <yuanxing@kylinsec.com.cn> - 1.22.1-4
- KYOS-F: remove pie in kiran theme - KYOS-F: remove pie in kiran theme