Subject: bug#18375: 24.4.50; Emacs hangs X session manager logout in certain cases

From: Jan Djärv <[email-masked]>
Date: Wed, 3 Sep 2014 07:02:36 +0200

Hello.

3 sep 2014 kl. 02:06 skrev Stefan Monnier <[email-masked]>:

>> Why not just skip all session manager interactions if run as a daemon?
> 
> I think that's what his patch does.

It does not.  It doesn't do SM if inhibit-x-session-manager is non-nil, which is not the same thing, it requires the user to set it.
It also adds/changes code in several files and exposes things to lisp.

Disabling SM in case of deamon is two additional if-statements in xterm.c.

	Jan D.