Accepting request 623190 from home:xiaoguang_wang:branches:GNOME:Factory
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch: When user session type is wayland, act_user_is_logged_in can return TRUE if the user is logged in (boo#1095918 fdo#106855). OBS-URL: https://build.opensuse.org/request/show/623190 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/accountsservice?expand=0&rev=119
This commit is contained in:
parent
8a6bd89765
commit
cd60d382da
@ -0,0 +1,30 @@
|
||||
From edcc26e5ae5fc09fad2d8e9afda0fea97c395d49 Mon Sep 17 00:00:00 2001
|
||||
From: xiaoguang wang <xwang@suse.com>
|
||||
Date: Fri, 8 Jun 2018 14:32:00 +0800
|
||||
Subject: [PATCH] lib: treat session type=wayland as graphical session
|
||||
|
||||
When user session type is wayland, act_user_is_logged_in can return TRUE
|
||||
if user is logged in.
|
||||
|
||||
https://bugs.freedesktop.org/show_bug.cgi?id=106855
|
||||
---
|
||||
src/libaccountsservice/act-user-manager.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/libaccountsservice/act-user-manager.c b/src/libaccountsservice/act-user-manager.c
|
||||
index ade309c..325421b 100644
|
||||
--- a/src/libaccountsservice/act-user-manager.c
|
||||
+++ b/src/libaccountsservice/act-user-manager.c
|
||||
@@ -1543,7 +1543,8 @@ _get_x11_display_for_new_systemd_session (ActUserManagerNewSession *new_session)
|
||||
return;
|
||||
}
|
||||
|
||||
- if (g_strcmp0 (session_type, "x11") != 0) {
|
||||
+ if (g_strcmp0 (session_type, "x11") != 0 &&
|
||||
+ g_strcmp0 (session_type, "wayland") != 0) {
|
||||
g_debug ("ActUserManager: (mostly) ignoring %s session '%s' since it's not graphical",
|
||||
session_type,
|
||||
new_session->id);
|
||||
--
|
||||
2.16.4
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 17 01:41:41 UTC 2018 - xwang@suse.com
|
||||
|
||||
- Add accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch:
|
||||
When user session type is wayland, act_user_is_logged_in can
|
||||
return TRUE if the user is logged in (boo#1095918 fdo#106855).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 11 07:33:21 UTC 2018 - mliska@suse.cz
|
||||
|
||||
|
@ -32,6 +32,8 @@ Patch0: accountsservice-sysconfig.patch
|
||||
Patch1: accountsservice-filter-suse-accounts.patch
|
||||
# PATCH-FIX-UPSTREAM accountsservice-missing-users-on-gdm-login.patch boo#1090003 fdo#106904 fezhang@suse.com -- Don't abort loading users when an /etc/shadow entry found missing
|
||||
Patch2: accountsservice-missing-users-on-gdm-login.patch
|
||||
# PATCH-FIX-UPSTREAM accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch boo#1095918 fdo#106855 xwang@suse.com -- Treat session type wayland as graphical mode
|
||||
Patch3: accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch
|
||||
## SLE-only patches start at 1000
|
||||
# PATCH-FEATURE-SLE as-fate318433-prevent-same-account-multi-logins.patch fate#318433 cxiong@suse.com -- prevent multiple simultaneous login.
|
||||
Patch1000: as-fate318433-prevent-same-account-multi-logins.patch
|
||||
@ -101,6 +103,7 @@ querying and manipulating user account information.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
# Sle-only patches start at 1000
|
||||
%if !0%{?is_opensuse}
|
||||
%patch1000 -p1
|
||||
|
Loading…
x
Reference in New Issue
Block a user