summaryrefslogtreecommitdiff
path: root/xserver/os/xdmcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/os/xdmcp.c')
-rw-r--r--xserver/os/xdmcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/os/xdmcp.c b/xserver/os/xdmcp.c
index 906c95944..7aeb393e6 100644
--- a/xserver/os/xdmcp.c
+++ b/xserver/os/xdmcp.c
@@ -797,7 +797,7 @@ XdmcpDeadSession(const char *reason)
ErrorF("XDM: %s, declaring session dead\n", reason);
state = XDM_INIT_STATE;
isItTimeToYield = TRUE;
- dispatchException |= DE_RESET;
+ dispatchException |= (OneSession ? DE_TERMINATE : DE_RESET);
TimerCancel(xdmcp_timer);
timeOutRtx = 0;
send_packet();