summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--daemon/gdm-daemon-config.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 044e2b3d..18ddb65d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2009-01-06 Brian Cameron <brian.cameron@sun.com>
+ * daemon/gdm-daemon-config.c: Set PRIO_MIN and PRIO_MAX to the
+ correct values on Solaris.
+
+2009-01-06 Brian Cameron <brian.cameron@sun.com>
+
* daemon/gdm.c, daemon/auth.c, daemon/misc.c: Use g_remove instead
of g_unlink when removing directories, it is safer.
diff --git a/daemon/gdm-daemon-config.c b/daemon/gdm-daemon-config.c
index dbcd5d40..ef0391bb 100644
--- a/daemon/gdm-daemon-config.c
+++ b/daemon/gdm-daemon-config.c
@@ -1053,10 +1053,10 @@ gdm_daemon_config_get_xservers (void)
/* PRIO_MIN and PRIO_MAX are not defined on Solaris, but are -20 and 20 */
#if __sun
#ifndef PRIO_MIN
-#define PRIO_MIN -20
+#define PRIO_MIN 0
#endif
#ifndef PRIO_MAX
-#define PRIO_MAX 20
+#define PRIO_MAX (NZERO*2)-1
#endif
#endif