Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
gdm.1499
gdm-default-wm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-default-wm.patch of Package gdm.1499
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index 90b9045..f2ea011 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -43,6 +43,8 @@ #include <glib-object.h> #include <gio/gio.h> +#include "gdm-sysconfig.h" + #include "gdm-session.h" #include "gdm-session-glue.h" #include "gdm-dbus-util.h" @@ -518,6 +520,14 @@ get_fallback_session_name (GdmSession *self) } } + name = gdm_sysconfig_load_value ("/etc/sysconfig/windowmanager", "DEFAULT_WM"); + if (name && get_session_command_for_name (name, NULL)) { + g_free (self->priv->fallback_session_name); + self->priv->fallback_session_name = name; + goto out; + } + g_free (name); + name = g_strdup ("gnome"); if (get_session_command_for_name (name, NULL)) { g_free (self->priv->fallback_session_name);
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