aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-workspace/files/patch-kdm_backend-xdmcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-workspace/files/patch-kdm_backend-xdmcp.c')
-rw-r--r--x11/kde4-workspace/files/patch-kdm_backend-xdmcp.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/kde4-workspace/files/patch-kdm_backend-xdmcp.c b/x11/kde4-workspace/files/patch-kdm_backend-xdmcp.c
new file mode 100644
index 000000000000..79e18a4ea648
--- /dev/null
+++ b/x11/kde4-workspace/files/patch-kdm_backend-xdmcp.c
@@ -0,0 +1,16 @@
+--- kdm/backend/xdmcp.c 2005/05/04 06:07:06 409205
++++ kdm/backend/xdmcp.c 2005/10/15 09:04:13 470797
+@@ -940,7 +940,12 @@
+ }
+ DisposeProtoDisplay( pdpy );
+ Debug( "starting display %s,%s\n", d->name, d->class2 );
+- StartDisplay( d );
++ if (LoadDisplayResources( d ) < 0) {
++ LogError( "Unable to read configuration for display %s; "
++ "stopping it.\n", d->name );
++ StopDisplay( d );
++ } else
++ StartDisplay( d );
+ CloseGetter();
+ }
+ }