summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBrian Cameron <Brian.Cameron@sun.com>2010-06-09 15:36:33 -0500
committerBrian Cameron <Brian.Cameron@sun.com>2010-06-09 15:36:33 -0500
commit9d895d874b815d800df32da6e7fde4fe31fc7fd3 (patch)
tree1f2f50605e3ec2d79a85e79a32e8d5987c5e9ad9 /common
parent3c2e148471b570c7cd3971f448d3842537579848 (diff)
downloadgdm-9d895d874b815d800df32da6e7fde4fe31fc7fd3.tar.gz
If the user's .dmrc file specifies the "custom" session, then accept it
even if there is no corresponding desktop file since it has special meaning to the /etc/gdm/Xsession script for launching $HOME/.xsession. Fixes bug 619129.
Diffstat (limited to 'common')
-rw-r--r--common/gdm-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/gdm-common.h b/common/gdm-common.h
index 191bd70a..1983cffe 100644
--- a/common/gdm-common.h
+++ b/common/gdm-common.h
@@ -25,6 +25,8 @@
#include "gdm-common-unknown-origin.h"
+#define GDM_CUSTOM_SESSION "custom"
+
G_BEGIN_DECLS
gboolean gdm_is_version_unstable (void);