X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/c4f592c47f236d2493b86760d11fb38ffd3275d6..f76840f36cf60feecaf21d55d24ace948800fef7:/src/xsmfns.c diff --git a/src/xsmfns.c b/src/xsmfns.c index 5a3fdbb881..77abf3b507 100644 --- a/src/xsmfns.c +++ b/src/xsmfns.c @@ -6,7 +6,7 @@ This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) +the Free Software Foundation; either version 3, or (at your option) any later version. GNU Emacs is distributed in the hope that it will be useful, @@ -48,6 +48,7 @@ Boston, MA 02110-1301, USA. */ #include "lisp.h" #include "systime.h" #include "sysselect.h" +#include "frame.h" #include "termhooks.h" #include "termopts.h" #include "xterm.h" @@ -510,6 +511,14 @@ x_session_initialize (dpyinfo) } } +/* Ensure that the session manager is not contacted again. */ + +void +x_session_close () +{ + ice_fd = -1; +} + DEFUN ("handle-save-session", Fhandle_save_session, Shandle_save_session, 1, 1, "e",