Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
accountsservice.12774
accountsservice-lib-treat-session-type-wayland-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File accountsservice-lib-treat-session-type-wayland-as-graphical-session.patch of Package accountsservice.12774
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor