Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
gdm
gdm-default-wm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-default-wm.patch of Package gdm
Index: gdm-2.30.4/daemon/gdm-session-direct.c =================================================================== --- gdm-2.30.4.orig/daemon/gdm-session-direct.c +++ gdm-2.30.4/daemon/gdm-session-direct.c @@ -50,6 +50,8 @@ #include <dbus/dbus-glib.h> #include <dbus/dbus-glib-lowlevel.h> +#include "gdm-sysconfig.h" + #include "gdm-session-direct.h" #include "gdm-session.h" #include "gdm-session-private.h" @@ -662,6 +664,14 @@ get_fallback_session_name (GdmSessionDir } } + name = gdm_sysconfig_load_value ("/etc/sysconfig/windowmanager", "DEFAULT_WM"); + if (name && get_session_command_for_name (name, NULL)) { + g_free (session_direct->priv->fallback_session_name); + session_direct->priv->fallback_session_name = name; + goto out; + } + g_free (name); + name = g_strdup ("gnome"); if (get_session_command_for_name (name, NULL)) { g_free (session_direct->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