Compatible wayland framework which exists xwayland.

Signed-off-by: kylinsecos_admin <gitee@kylinos.com.cn>
This commit is contained in:
kylinsecos_admin 2023-02-07 20:02:37 +08:00
parent 833122e513
commit 36199a999c
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
Version: %{branch}.1
%if 0%{?rel_build}
Release: 4
Release: 5
%else
Release: 0.13%{?git_rel}
%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
Patch1017: 1017-fix-daemon-return-false-while-dbus-proxy-init-failed.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: libcanberra-devel
@ -111,6 +112,9 @@ rm -f %{buildroot}%{_datadir}/applications/mate-notification-daemon.desktop
%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
- KYOS-F: remove pie in kiran theme