aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h
diff options
context:
space:
mode:
authorJan Djärv2011-02-01 09:53:03 +0100
committerJan Djärv2011-02-01 09:53:03 +0100
commit4df0af9b7b64caadfe8ea3b0fd3ccbd0d777256d (patch)
tree63d921b47061c9056cb18dcfe42e2715dfe78a9d /src/xterm.h
parenta4180391acf904dde6ec72bd37b8f908f69ac3e8 (diff)
downloademacs-4df0af9b7b64caadfe8ea3b0fd3ccbd0d777256d.tar.gz
emacs-4df0af9b7b64caadfe8ea3b0fd3ccbd0d777256d.zip
Use add/delete_read_fd in xsmfns to simplify. Also restart with initial_argv.
* xsmfns.c (ice_connection_closed): Call delete_read_fd. (x_session_check_input): Change args and return type so it can be used as argument to add_read_fd. Make static. Remove call to select. Call kbd_buffer_store_event for emacs_event. (smc_save_yourself_CB): Also store initial argv to SmRestartCommand. (ice_conn_watch_CB): Call add_read_fd. * xterm.c (XTread_socket): Remove HAVE_X_SM block with call to x_session_check_input. (x_session_initialized): Remove definition. (x_initialize): Remove setting of x_session_initialized. * xterm.h (x_session_check_input): Remove declaration.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 4775655a7ff..48d68557796 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -1076,7 +1076,6 @@ extern void widget_store_internal_border (Widget);
1076/* Defined in xsmfns.c */ 1076/* Defined in xsmfns.c */
1077#ifdef HAVE_X_SM 1077#ifdef HAVE_X_SM
1078extern void x_session_initialize (struct x_display_info *dpyinfo); 1078extern void x_session_initialize (struct x_display_info *dpyinfo);
1079extern int x_session_check_input (struct input_event *bufp);
1080extern int x_session_have_connection (void); 1079extern int x_session_have_connection (void);
1081extern void x_session_close (void); 1080extern void x_session_close (void);
1082#endif 1081#endif